Avoid destructuring in untranspiled script.

This commit is contained in:
Logan Smyth 2017-01-15 13:46:41 -08:00
parent 658f13e030
commit e18dc7a6d3

View File

@ -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 + '")'));
});