David Bruant (2013-12-17T09:38:05.000Z)
domenic at domenicdenicola.com (2014-01-03T15:06:54.289Z)
Note that there is a warning [1] (maybe arguably). Among other incompatibilities, `size` is a getter too. `myMap.delete` fails, but `myMap['delete']` should work. [1]: https://github.com/paulmillr/es6-shim/blob/4322eae20b6f8a7769fa1d89ac207ef8ee9e1ee4/es6-shim.js#L662
domenic at domenicdenicola.com (2013-12-24T23:56:58.171Z)
Le 17/12/2013 10:19, Shijun He a écrit : > There are some methods using reserved word "delete", such as > Map.prototype.delete, Set.prototype.delete... Though it is allowed > since ES5, I think we'd better avoid it because it cause es6 shim > solution fail on legacy browsers such as IE8. Note that there is a warning [1] (maybe arguably). Among other incompatibilities, "size" is a getter too. myMap.delete fails, but myMap['delete'] should work. [1]: https://github.com/paulmillr/es6-shim/blob/4322eae20b6f8a7769fa1d89ac207ef8ee9e1ee4/es6-shim.js#L662