Learn Javascript in 60 minutes - What are Variables and Datatypes in Javascript?

preview_player
Показать описание
Datatypes are basically type of data that can be used and manipulate in a program.
Numbers: 5, 6.5, 7 etc.
String: “Lion"
Boolean: Represent a logical entity and can have two values: true or false.
Null: This type has only one value : null.
Undefined: A variable that has not been assigned a value is undefined.

Variables in JavaScript are containers which hold reusable data. It is the basic unit of storage in a program.

Рекомендации по теме
visit shbcf.ru