From 107e0ce5fa6a4a052e8990875ef99193f529fb73 Mon Sep 17 00:00:00 2001 From: Andrea Giammarchi Date: Sun, 4 Oct 2020 18:40:07 +0200 Subject: [PATCH] better ES3 Map poly + link to es5-shims --- bin/es3.js | 3 ++- brainstorming.md | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/es3.js b/bin/es3.js index 79b92b0..bcd3227 100644 --- a/bin/es3.js +++ b/bin/es3.js @@ -64,9 +64,9 @@ module.exports = code => { code = `// [ES3-Set-Polyfill function Set(I){this.clear();if(I){this._k=I.slice(0);this.size=I.length}} Set.prototype["delete"]=function(k){var _k=this._k,i=_k.indexOf(k),h=-1