Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).
Parameters
encodedURIComponent: string
A value representing an encoded URI component.
Returns string
encodeURI
encodeURI(uri: string): string
Encodes a text string as a valid Uniform Resource Identifier (URI)
Parameters
uri: string
A value representing an encoded URI.
Returns string
encodeURIComponent
encodeURIComponent(uriComponent: string | number | boolean): string
Encodes a text string as a valid component of a Uniform Resource Identifier (URI).
Parameters
uriComponent: string | number | boolean
A value representing an encoded URI component.
Returns string
escape
escape(string: string): string
Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.
Parameters
string: string
A string value
Returns string
eval
eval(x: string): any
Evaluates JavaScript code and executes it.
Parameters
x: string
A String value that contains valid JavaScript code.
Returns any
isFinite
isFinite(number: number): boolean
Determines whether a supplied number is finite.
Parameters
number: number
Any numeric value.
Returns boolean
isNaN
isNaN(number: number): boolean
Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).
Parameters
number: number
A numeric value.
Returns boolean
parseFloat
parseFloat(string: string): number
Converts a string to a floating-point number.
Parameters
string: string
A string that contains a floating-point number.
Returns number
parseInt
parseInt(s: string, radix?: undefined | number): number
Converts a string to an integer.
Parameters
s: string
A string to convert into a number.
Optional radix: undefined | number
A value between 2 and 36 that specifies the base of the number in numString.
If this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.
All other strings are considered decimal.
Returns number
unescape
unescape(string: string): string
Computes a new string in which hexadecimal escape sequences are replaced with the character that it represents.
Obtain the parameters of a constructor function type in a tuple