Apply your JS skills to key Mozilla projects as an MDN Fellow! http://mzl.la/MDNFellowship

mozilla

Compare Revisions

Function

Change Revisions

Revision 1341:

Revision 1341 by Maian on

Revision 1342:

Revision 1342 by Niklas on

Title:
Function
Function
Slug:
JavaScript/Reference/Global_Objects/Function
JavaScript/Reference/Global_Objects/Function
Tags:
javascript, NeedsBrowserCompatibility, "JavaScript Reference", NeedsMobileBrowserCompatibility
javascript, NeedsBrowserCompatibility, "JavaScript Reference", NeedsMobileBrowserCompatibility
Content:

Revision 1341
Revision 1342
t51      <code>Function</code> objects created with the <code>Functit51      <code>Function</code> objects created with the <code>Functi
>on</code> constructor are evaluated each time they are used. This>on</code> constructor are evaluated each time they are used. This
> is less efficient than declaring a function and calling it withi> is less efficient than declaring a function and calling it withi
>n your code, because declared functions are parsed only once.>n your code, because declared functions are parsed only once...

Back to History