An open API service indexing awesome lists of open source software.

https://github.com/bbortt/get-getter

getGetter() - a brief history of JavaScript [Symbol.iterator].
https://github.com/bbortt/get-getter

Last synced: over 1 year ago
JSON representation

getGetter() - a brief history of JavaScript [Symbol.iterator].

Awesome Lists containing this project

README

          

getGetter
======
> getGetter() - a brief history of JavaScript [Symbol.iterator].

# Abstract
There was a time when we did load all data in a single JavaScript command.

But with time going by, data growing and our interpreters evolving we finally
managed to build something like an asynchronous cloud in JavaScript. With this
Cloud we can fetch our items one by one, instead of keeping everything in memory.

Sounds awesome, doesn't it? You're right.. its speed is.. ugh, what should I say?

[![Blazing Fast](https://img.shields.io/badge/speed-blazing%20%F0%9F%94%A5-brightgreen.svg?style=flat-square)](https://twitter.com/acdlite/status/974390255393505280)

# Requirements
* [Node.js](https://nodejs.org/en/download/)

# Getting started
Run the following commands one after another. Each command will introduce you
to a new problem and a possible solution to it. Read the output carefully and
take a look at the implementation if necessary. You should understand each single
step before carrying on to the next one.

```shell script
node step_1
node step_2
node step_3
node step_4
node step_5
```

# Reference
[MDN web docs on Symbol.iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/iterator)