babel/lib/6to5/polyfill.js
Sebastian McKenzie 363b1631f5 switch to core-js from es6-symbol and es6-shim
Conflicts:
	lib/6to5/polyfill.js
2014-12-15 14:00:41 +11:00

17 lines
403 B
JavaScript

/* jshint newcap: false */
require("core-js/shim");
require("./transformation/transformers/es6-generators/runtime");
var ensureSymbol = function (key) {
Symbol[key] = Symbol[key] || Symbol();
};
ensureSymbol("species");
ensureSymbol("hasInstance");
ensureSymbol("isConcatSpreadable");
ensureSymbol("isRegExp");
ensureSymbol("toPrimitive");
ensureSymbol("toStringTag");
ensureSymbol("unscopables");