El código siguiente crea un objeto Function que toma dos argumentos.
Para llamar al objeto Function, puedes especificar el nombre de la variable como si fuera una función, como se muestra en el siguiente ejemplo.
To call the Function object, you can specify the variable name as if it were a function, as shown in the following examples.
Además de estar disponible como variable local, el objeto arguments también es una propiedad del objeto Function y puede estar precedida por el nombre de la función.
In addition to being available as a local variable, the arguments array is also a property of the Function object and can be preceded by the function name.
Resulta que las funciones en sí mismas son objetos, y estos objetos a su vez tienen métodos (ver el objeto Function).
It turns out that functions are, themselves, objects, and these objects in turn have methods (see the Function object).
Una función creada con la sentencia function es un objeto Function y tiene todas las propiedades, métodos, y comportamiento de los objetos Function.
A function created with the function statement is a Function object and has all the properties, methods, and behavior of Function objects.
Véase el objeto Function en la referencia JavaScript para más información.
See the Function object in the JavaScript reference for more information.
Para más información, ver la propiedad prototype del objeto Function en la Referencia de JavaScript.
See the prototype property of the Function object in the JavaScript reference for more information.
Descripción El objeto Function reconduce el método toString en forma de declaración de función.
For Function objects, the toString method returns a string representation of the object in the form of a function declaration.
Porque el constructor de cualquier función de JS es Function y como todos los contructores de JS, el objeto Function es una función que, en este caso, construye funciones.
The constructor of any function in JS is Function and, as every constructor in JS, Function is a function. In this case Function is a function to build functions from strings!
Toda función en JavaScript es un objeto Function.
A function in JavaScript is also an object.
Descripción El objeto Function reconduce el método toString en forma de declaración de función.
Description The Array object overrides the toString method of Object.
Véase el objeto Function en la referencia JavaScript para más información. Parametros de función
See the substring method of the String object in the JavaScript Reference for more information.