Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rse/es6-features
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: gh-pages
Choose a base ref
...
head repository: Hadis-Fard/es6-features
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: gh-pages
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 22, 2017

  1. updated map example

    there is a symbol as key in this map and with string concat raises "Cannot convert a Symbol value to a string" error
    Hadis Fard authored Sep 22, 2017
    Copy the full SHA
    6d78706 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 features.txt
2 changes: 1 addition & 1 deletion features.txt
Original file line number Diff line number Diff line change
@@ -1274,7 +1274,7 @@ Cleaner data-structure for common algorithms based on maps.
6| m.|get(s)| === 34;
6| m.|size| === 2;
6| for (let |[ key, val ] of m.entries()|)
6| console.log(key + " = " + val);
6| console.log(key , val);

5| var m = |{}|;
5| // no equivalent in ES5