Blog Stats
  • Posts - 84
  • Articles - 0
  • Comments - 36
  • Trackbacks - 2

 

Adding a Select() / Map() Method to Javascript Arrays

In C# and Ruby we can use the Where() and Select() methods to select elements from a collection by testing each element with a predicate (method that returns a boolean). Unfortunately, javascript does not have this capability. Here is the code to add a where() method to the javascript array class...

Read the full article

 


Feedback

No comments posted yet.


Post a comment





 

 

 

Copyright © Liam McLennan