← Reference

global-functions

JavaScript global-functions reference.

decodeURI()

Decode a Uniform Resource Identifier (URI) previously encoded with encodeURI.

decodeURI(encodedURI)

decodeURIComponent()

Decode a URI component by reversing encodeURIComponent encoding.

decodeURIComponent(encodedURIComponent)

encodeURI()

Encode a Uniform Resource Identifier (URI) by escaping certain characters.

encodeURI(uri)

encodeURIComponent()

Encode a URI component by escaping all characters except ASCII letters, digits, and - _ . ! ~ * ( )

encodeURIComponent(uriComponent)

eval()

Evaluate JavaScript code represented as a string.

eval(string)

isNaN()

Determine if a value is NaN (Not-a-Number). Differs from Number.isNaN() by coercing its argument to a number first.

isNaN(value)

parseFloat()

Parse a string and return a floating-point number.

parseFloat(string)

parseInt()

Parse a string and return an integer with optional radix.

parseInt(string, radix)

structuredClone()

Create a deep copy of a JavaScript value using the structured clone algorithm.

structuredClone(value)