Quiz on JavaScript Built-in Functions



1. What is the purpose of the 'eval()' function in JavaScript?
2. Which built-in function is used to convert a string into an integer?
Advertisement
00:00
00:00
3. What does the 'isNaN()' function do?
4. Which function would you use to get the current date and time?
5. What is the output of the 'toUpperCase()' method?

Advertisements