<myBlog show="last" ⁄>
<mySnippets order="rand" ⁄>
<myPhoto order="random" ⁄>
<mySnippets type="lang" ⁄>
<myQuote order="random" ⁄>
<myContacts ⁄><email ⁄>
<windows live messenger ⁄>
<myCurriculum type="pdf" ⁄>
<myVisitorsMap ⁄>JavaScript has two interesting features: higher-order functions and prototypial inheritance. If you understand these two and you know at least one other curly-brace language, you basically understand JavaScript. Because you're in a hurry, the following explanation of these two concepts is extremely condensed. Read everything carefully and you'll be a JavaScript expert faster than you can say "Antidisestablishmentarianism".
Higher-order functions
In JavaScript, everything is an object (that is a lie, but for the sake of this article let's pretend that it's true). Functions are objects, too. You can assign functions to variables, you can have functions return other functions and you can have functions accept other functions as parameters.
este é só um excerto do artigo, para aceder ao artigo completo, clique no link em baixo:
this is just a small excerpt from the article, to access the full article please click in the link below:
http://kaijaeger.com/javascript-for-people-who-are-in-a-hurry.html
<myNews show="rand" cat="programacao" ⁄>