JavaScript Global Functions Guide
Global functions and properties are available everywhere in JavaScript without importing. They include parsing functions, timing functions, and encoding utilities. The guide walks through Value Parsing, Timing Functions, Encoding & Decoding, Dynamic Evaluation. `parseInt()` and `parseFloat()` parse strings to numbers. `isNaN()` and `isFinite()` check value validity. `Number.isNaN()` is a more reliable alternative without type coercion. `setTimeout()` executes a function after a delay. `setInterval()` executes repeatedly. `clearTimeout()` and `clearInterval()` cancel scheduled execution. `requestAnimationFrame()` optimizes animations. The guide is organized into 4 sections that build on each other, each pairing a prose explanation with runnable code. Browse the individual methods covered by this guide in the Global Functions category. Key APIs covered include setTimeout(), clearTimeout(), setInterval(), clearInterval(), setImmediate(), queueMicrotask(). Related guides: Arrays, Strings, Numbers, Math, Date. This is one of 145 JavaScript guides on JS Reference — see the full list on the guides page.