Quiz
Let's practice what we learned about ES2020 with these quizzes
We'll cover the following...
We'll cover the following...
Quiz
1.
What is the correct output of the following code?
let bigInt = 99999999999999999;
console.log(bigInt + 1n);
A.
100000000000000000n
B.
99999999999999999
C.
Uncaught TypeError: Cannot mix BigInt and other types, use explicit conversions
D.
100000000000000000
1 / 5