What is data type in javascript | JS Tutorial | By Codeprime

javascript data types with examples,undefined data type in javascript,how many data types in javascript,non primitive data types in javascript,data structures in javascript,symbol data type in javascript,is float a data type in javascript,primitive and non primitive data types in javascript,data type uses,javascript tutorial for beginners,javascript functions,data validation, codeprime, coding tutorial, how to learn coding easy way to learn coding

 🔲 What is data type: You can assign different types of values to a variable such as a number or a string. In JavaScript, there are two categories of data types. there are mainly two type of data type 

1) Premitive

2) Reference  

🔲 Premitive data type: Premitive data types are mainly 5 type 

1) Number: Its basicaly number value example (1,2,3--n)

2) Strings: Its basicaly consider as a text whoise allways input value under cotetion example: ('code prime'), ('22').

3) Bulean: Its basicaly ( True Or false ) Logical situation.

4) Undefined: Its basicaly the storing variable hase no value . example: let height; height hase no value.

5) Null: its basicaly nulll whoise means no type.

🔲 Reference data type: Reference are mainly 4 type

1) Arays: Its basicaly work multipile data types.

2) Object: Its can be show the info of object 

3) Function: Its make the system whoise can aply all of the data type and can be make them separate types of work.

Youtube Tutorial


Post a Comment


Join Telegram