Javascript - Reference Global

Introduction

JavaScript Global has some useful methods.

The global properties and functions can be used with any JavaScript objects.

Property

PropertyDescription
Global Infinity PropertyInfinity is a numeric value that represents positive infinity.
Global undefined typeThe undefined type indicates that a variable has not been assigned a value.

Method

MethodDescription
Global decodeURI() FunctionThe decodeURI() function can decode a URI.
Global decodeURIComponent() FunctionThe decodeURIComponent() function decodes a URI component.
Global encodeURI() FunctionThe encodeURI() function is used to encode a URI.
Global encodeURIComponent() FunctionThe encodeURIComponent() function encodes a URI component.
Global escape() FunctionThe escape() function was deprecated in JavaScript version 1.5. Use encodeURI() or encodeURIComponent() instead.
Global eval() FunctionThe eval() function evaluates or executes an argument.
Global isFinite() FunctionThe isFinite() function determines whether a number is a finite, legal number.
Global isNaN() FunctionThe isNaN() function determines whether a value is an illegal number (Not-a-Number).
Global Number() FunctionThe Number() function converts the object to a number.
Global parseFloat() FunctionThe parseFloat() function parses a string and returns a floating point number.
Global parseInt() FunctionThe parseInt() function parses a string and returns an integer.
Global String() FunctionThe String() function converts a value to a string.
Global unescape() FunctionThe unescape() function was deprecated in JavaScript version 1.5. Use decodeURI() or decodeURIComponent() instead.