...

/

Data Types and Arithmetic Operators

Data Types and Arithmetic Operators

Learn about the different data types and arithmetic operators available in JavaScript.

Introduction

Most programming languages help you create values that symbolize a number, a character in a text, or a longer text. You can also symbolize the concept of true and false values using booleans. You can also create values that symbolize the absence of a value. These values are all called primitive datatypes.

The name primitive does not come from a negative place. These datatypes are not inferior to any other data types we use in JavaScript. The name primitive comes ...