Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 7: Advanced JavaScript Object Handling!
Instruction
Function Properties
These global functions are callable from any context and provide various utilities:
-
eval(): Executes a string of code. Example: eval('console.log(2 + 2)'); will output 4.
-
isFinite(): Determines if a value is a finite number. For instance, console.log(isFinite(10)); returns true, while console.log(isFinite(Infinity)); returns false.
- isNaN(): Checks if a value is NaN....