Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 
  • #r
  • #re
  • #red
RSS: #reduce

#reduce

  • Nicolas Hoizey @nhoizey CC BY-NC-SA 4/07/2011 09:54

    Underscore.js
    ►http://documentcloud.github.com/underscore

    #functional_programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in #JavaScript objects. It’s the tie to go along with jQuery’s tux.

    Underscore provides 60-odd functions that support both the usual functional suspects: #map, #select, #invoke — as well as more specialized helpers: function #binding, javascript #templating, deep equality testing, and so on. It delegates to built-in functions, if present, so modern browsers will use the native implementations of forEach, map, #reduce, #filter, every, some and indexOf.

    • #functional programming
    • #JavaScript
    • #Ruby
    • #EcmaScript
    Nicolas Hoizey @nhoizey CC BY-NC-SA
    Écrire un commentaire