Anonymous function (Definition)

A manually constructed function object with no identifying name.


ECMAScript edition - 2

Anonymous functions are created dynamically by using the built-in Function object as a constructor in a function expression.

As they are called, the last argument is used to provide the script source, and all but the last argument are used as a formal parameter list for the function.

Anonymous functions are properly supported by the WebTV set-top box from the Summer 2000 release onwards. Earlier versions of this product only partially supported anonymous functions.

See also:Function literal, Function object, Instantiating Function, JellyScript


ECMA 262 edition 2 - section - 10.1.1

ECMA 262 edition 3 - section - 10.1.1