LINQ in JavaScript, ES6 style, for real this time

In a recent post I talked about writing LINQ in JavaScript using ES6 iterators but then had to take my words back after it was pointed out to me that I wasn’t actually using ES6 generators.
Well some time has past and I’ve reworked my previ…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

In a recent post I talked about writing LINQ in JavaScript using ES6 iterators but then had to take my words back after it was pointed out to me that I wasn’t actually using ES6 generators. Well some time has past and I’ve reworked my previous library to actually use the iterators and generators from ES6, so let’s have a look at how to get going with it. Lazy evaluating collectionsLet’s start simple, let’s take an array and make it lazy evaluated.


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate Updates
APA

Posts on LINQ to Fail | Sciencx (2013-12-31T00:00:00+00:00) LINQ in JavaScript, ES6 style, for real this time. Retrieved from https://www.scien.cx/2013/12/31/linq-in-javascript-es6-style-for-real-this-time/

MLA
" » LINQ in JavaScript, ES6 style, for real this time." Posts on LINQ to Fail | Sciencx - Tuesday December 31, 2013, https://www.scien.cx/2013/12/31/linq-in-javascript-es6-style-for-real-this-time/
HARVARD
Posts on LINQ to Fail | Sciencx Tuesday December 31, 2013 » LINQ in JavaScript, ES6 style, for real this time., viewed ,<https://www.scien.cx/2013/12/31/linq-in-javascript-es6-style-for-real-this-time/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » LINQ in JavaScript, ES6 style, for real this time. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2013/12/31/linq-in-javascript-es6-style-for-real-this-time/
CHICAGO
" » LINQ in JavaScript, ES6 style, for real this time." Posts on LINQ to Fail | Sciencx - Accessed . https://www.scien.cx/2013/12/31/linq-in-javascript-es6-style-for-real-this-time/
IEEE
" » LINQ in JavaScript, ES6 style, for real this time." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2013/12/31/linq-in-javascript-es6-style-for-real-this-time/. [Accessed: ]
rf:citation
» LINQ in JavaScript, ES6 style, for real this time | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2013/12/31/linq-in-javascript-es6-style-for-real-this-time/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.