Java Script is a text based scripting language used in server side and client side to create full featured web page
Data types in javascript:
Number
String
Boolean
Null
undefined
symbol
Big int - It is used for big number in javascript
*Primitive Data types in java: *
Byte - 8 bit
short - 16 bit
int - 4 byte
long - 8 byte
float - 4 byte
Double - 8 byte
Variable:
Tamil = 10 ; -> Referenced variable is used to store the address in memory
Keywords in javascript:
Var - It is a keyword used to declare a variable.
let - It is block scoped
const - It is a keyword used to declare a constant variable
In variable declaration in javascript we need not to mention the datatype before the variable declaration
In variable declaration we don't give a space between variable
variable declaration should be in small letter
Top comments (1)
great content