Referencia de JavaScript 1.5:Funciones globales
De MDC
This chapter contains all JavaScript functions not associated with any object. In the ECMAScript specification, these functions are referred to as methods of the global object.
- Boolean
- Converts a value to a boolean.
- Date
- Returns a string representation of the current date and time.
- decodeURIComponent
- Decodes a URI which has been encoded with encodeURIComponent.
- encodeURI
- Computes a new version of a complete URI replacing each instance of certain characters with escape sequences representing the UTF-8 encoding of the characters.
- encodeURIComponent
- Computes a new version of components in a URI replacing each instance of certain characters with escape sequences representing the UTF-8 encoding of the characters.
- eval
- Evaluates a string of JavaScript code without reference to a particular object.
- isFinite
- Evaluates an argument to determine whether it is a finite number.
- isNaN
- Evaluates an argument to determine whether it is not a number.
- Number
- Converts a value to a number.
- Object
- Converts a value to an object.
- parseFloat
- Parses a string argument and returns a floating-point number.
- parseInt
- Parses a string argument and returns an integer.
- String
- Converts a value to a string.