Skip to content

Commit b140e58

Browse files
author
brijeshkumar-chavda
committed
2 parents b1f94a9 + 7d785f6 commit b140e58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

5_datatype/1_primitive_datatypes/1_number.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,16 @@
1717
// Number
1818
let integer = 123;
1919
let float = 3.14;
20-
let scientificNumber = 10e2;
20+
let scientific = 10e2;
2121

2222
// BigInt: BigInt numbers can only perform operation with BigInt datatype
23-
2423
// Creating BigInt number using BigInt() constructor
2524
let bigInt1 = BigInt(1000);
2625

2726
// Creating BigInt number using `n` at the end of the number
2827
let bigInt2 = 1000n;
2928

30-
// NaN: represent invalid value
29+
// NaN (Not a number): represent invalid value
3130
let notANumber = NaN;
3231

3332
// Infinity: represent infinite numeric values

0 commit comments

Comments
 (0)