pull/797/merge
Achana Naga Durga Prasad 2 years ago committed by GitHub
commit b678dd353b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,7 +63,8 @@ Primitive data types in JavaScript include:
4. Null - empty value or no value
5. Undefined - a declared variable without a value
6. Symbol - A unique value that can be generated by Symbol constructor
7. BigInt - represent numeric values which are too large to be represented by the number
Non-primitive data types in JavaScript includes:
1. Objects
@ -176,7 +177,7 @@ const PI = 3.14 // pi a geometrical constant
// More Examples
const boilingPoint = 100 // temperature in oC, boiling point of water which is a constant
const bodyTemp = 37 // oC average human body temperature, which is a constant
const bodyTemp = 37 // oC average human body temperature, which is not constant
console.log(age, gravity, mass, PI, boilingPoint, bodyTemp)
```

Loading…
Cancel
Save