JavaScript(or JS) enables users to create interactive webpages and is an essential code to learn for websites and web applications. Most modern websites use JavaScript.
The JavaScript Reference serves as library to define various JS elements such as arrays, date, json, math, operators and regular expressions (regexp) to help you build your website.
JavaScript Global
JavaScript global properties and functions can be used with all JavaScript objects.
NAME
DESCRIPTION
CATEGORY
Number()
Converts an object's value to a number
Functions
String()
Converts an object's value to a string
Functions
decodeURI()
Decodes a URI
Functions
decodeURIComponent()
Decodes a URI component
Functions
encodeURI()
Encodes a URI
Functions
encodeURIComponent()
Encodes a URI component
Functions
escape()
Deprecated in version 1.5. Use encodeURI() or encodeURIComponent() instead
Functions
eval()
Evaluates a string and executes it as if it was script code
Functions
isFinite()
Determines whether a value is a finite, legal number