This repository was archived by the owner on Feb 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Buildstarted/arrayjs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
array.js is a javascript implementation of linq. It has support for deferred execution for browsers that do not support Javascript 1.7.
#method chaining
var source = [ 1, 2, 3, 3, 2, 2, 3, 1, 0, 5 ];
var result = source
.where(function(x) { return x < 4; })
.skip(2)
.distinct();
#deferred execution
var source = [ 1, 2, 3, 3, 2, 2, 3, 1, 0, 5 ];
var result = source.where(function(x) { return x < 4; });
//it's only executed on toArray() or whenever
//the element is enumerated
console.log(result.toArray());
About
A javascript implementation of Linq to Objects
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published