Comments (2)
I saw that too.
Should be:
let m = new Map, s; m.set("hello", 42); m.set(s, 34); m.get(s) === 34; m.size === 2; for (let [ key, val ] of m.entries()) console.log(key + " = " + val);
from es6-features.
I created a pull request a while back. No maintainers around it appears though
from es6-features.
Related Issues (20)
- Could you please add es7 and later feature overview & comparison? HOT 6
- confusing variable names HOT 1
- PDF Version HOT 1
- Object initializer shorthand for sub-properties?
- var instead of let
- Certificate error on https://es6-features.org/
- Rename spread operator to spread syntax
- Evaluating string interpolation for template literals
- Fibonacci numbers issue
- ES6 keywords behaves as variable
- Misleading test of value presence in WeakSet/WeakMap
- Non-working example of Typed Arrays
- I18n HOT 1
- Array.prototype.findIndex
- Destructuring Assignment/Array Matching sample does not work as expected on the 'reduced' version HOT 1
- EC5 Spead Operator Sample Unused Variable HOT 1
- Lambda example improvement HOT 8
- Gitbook Version
- Large Red 'X' implies ES5 snippets contain errors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es6-features.