I'm looking through here (https://babeljs.io/docs/en/babel-plugin-transform-member-expression-literals) but can't seem to find them.
Asked
Active
Viewed 57 times
0
-
map and filter are accepted by default by all browsers, including IE9. For `array.includes`, i guess, yes. Babel polyfill has a polyfill for it – Rajesh Nov 04 '22 at 03:23
-
Ah yes, unfortunately i'm running some code on an ancient runtime. – Mmm Donuts Nov 04 '22 at 03:24
-
Check [this](https://stackoverflow.com/questions/32401513/array-find-doesnt-work-with-babel). Also, for polyfill, you can refer to MDN pages. They usually have them at the bottom. Also, just out of curiosity, what runtime are you running it in? Please tell me its not IE8 – Rajesh Nov 04 '22 at 03:40
-
haha no, its duktape 2.3.0. – Mmm Donuts Nov 04 '22 at 03:58
-
I do see them now yeah https://github.com/zloirock/core-js#ecmascript-array. I just need need to sort out how to get babel to polyfill them for me. – Mmm Donuts Nov 04 '22 at 04:00