public marks

PUBLIC MARKS with tags return & function

30 August 2005 10:30

SitePoint Blogs » Blog Archive » Closures and executing JavaScript on page load

by nhoizey (via)
createAdder(x) is a function that returns a function. In JavaScript, functions are first-class objects: they can be passed to other functions as arguments and returned from functions as well. In this case, the function returned is itself a function that takes an argument and adds something to it.

PUBLIC TAGS related to tag return

apollo +   aroma +   Arroyo +   astronauts +   bananas +   barista +   batman +   battle +   Bruce Wayne +   california +   charter +   closure +   coffee +   colleges +   comics +   cooking +   creek +   culture +   databases +   dc +   delivery +   energy +   exploration +   family +   fonction +   function +   game +   genealogy +   history +   home +   house +   javascript +   Lander +   lunar +   maker +   marvel +   moon +   museum +   nasa +   rebirth +   science +   space +   space.com +   spafinder +   starbucks +   strategy +   technology +   thanos +   tsakos +   web +  

Active users

nhoizey
last mark : 30/08/2005 10:39