183k views
3 votes
In JavaScript, what is the term for a built-in method that does not belong to any particular object, such as the isNaN() method?

1 Answer

3 votes

Answer:

Top-level function is the correct answer.

Step-by-step explanation:

Top-level function is the method in the JavaScript that is not a part of any other objects. It is built-in method in JavaScript such as isNaN() function, eval() function, _dump() function, print() function and may other functions. These functions are the object of the global variable or object.

So, that's why the following answer is correct.

User TGnat
by
4.9k points