Quiz

Let's practice what we learned about ES2020 with these quizzes

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

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.