jsdatatypes.md - brainchildservices/curriculum GitHub Wiki

Slide 1

JavaScript Data Types

Data types are a particular type of data item that determines what operations can be applied to them. Once a variable is assigned a data type it can be used for computations in the program. There are different types of data that we can use in a JavaScript program. For example,

 const x = 5;
 const y = "Hello";

Here,

  • 5 is an integer data.
  • "Hello" is a string data.