Using ES6 features for computing fibonacci
Trying out ES6 Symbol.Iterator features for generating fibonacci series.
npm install
npm start
Has two types of genarators.
next()
methodyield
.map()
, .filter()
and .forEach()
Symbol.Iterator
.map
, filter
and forEach
and hence using wu.js
for iterating over lazy evaluated streams.