Linq to Javascript

http://jslinq.codeplex.com/

   1:  var myList = [
   2:              {FirstName:"Chris",LastName:"Pearson"},
   3:              {FirstName:"Kate",LastName:"Johnson"},
   4:              {FirstName:"Josh",LastName:"Sutherland"},
   5:              {FirstName:"John",LastName:"Ronald"},
   6:              {FirstName:"Steve",LastName:"Pinkerton"}
   7:              ];
   8:              
   9:  var exampleArray = JSLINQ(myList)
  10:                     .Where(function(item){ return item.FirstName == "Chris"; })
  11:                     .OrderBy(function(item) { return item.FirstName; })
  12:                     .Select(function(item){ return item.FirstName; });

posted @ giovedì 25 febbraio 2010 04:02

Print

Comments on this entry:

# how to recover deleted emails from gmail after 30 days

Left by how to recover deleted emails fr at 18/08/2017 11:17
Gravatar
Checkout our website for how to recover deleted emails from gmail after 30 days

# re: Linq to Javascript

Left by quotes hindi at 27/02/2018 09:25
Gravatar
find out all awesome collection in hindi sad shayari in hindi

# re: Linq to Javascript

Left by quotes hindi at 27/02/2018 09:27
Gravatar
want to check intermediate and ssc 10th results from Manabadi love shayari in hindi

# re: Linq to Javascript

Left by hindi shayari at 27/02/2018 09:31
Gravatar
love status in hindi
more details find out here

# re: Linq to Javascript

Left by Community Assistance at 07/05/2018 12:59
Gravatar
Community Assistance is leading cleaning services provider to both domestic and commercial properties throughout Gateshead. we offer domestic cleaning services , ironing service, dust cleaner, kitchen cleaning, weekly house cleaning service, laundry service, cook and help with shopping.
Comments have been closed on this topic.
«novembre»
domlunmarmergiovensab
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567