There was an error while loading. Please reload this page.
2 parents b1f94a9 + 7d785f6 commit b140e58Copy full SHA for b140e58
5_datatype/1_primitive_datatypes/1_number.js
@@ -17,17 +17,16 @@
17
// Number
18
let integer = 123;
19
let float = 3.14;
20
-let scientificNumber = 10e2;
+let scientific = 10e2;
21
22
// BigInt: BigInt numbers can only perform operation with BigInt datatype
23
-
24
// Creating BigInt number using BigInt() constructor
25
let bigInt1 = BigInt(1000);
26
27
// Creating BigInt number using `n` at the end of the number
28
let bigInt2 = 1000n;
29
30
-// NaN: represent invalid value
+// NaN (Not a number): represent invalid value
31
let notANumber = NaN;
32
33
// Infinity: represent infinite numeric values
0 commit comments