Avoid destructuring in untranspiled script.
This commit is contained in:
parent
658f13e030
commit
e18dc7a6d3
@ -29,7 +29,9 @@ var legacy = [
|
||||
["string/pad-right", "string/pad-end"]
|
||||
];
|
||||
|
||||
legacy.forEach(function([a, b]) {
|
||||
legacy.forEach(function(pair) {
|
||||
const a = pair[0];
|
||||
const b = pair[1];
|
||||
writeFile("core-js/" + a + ".js", defaultify('require("core-js/library/fn/' + b + '")'));
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user