Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
$ npm install babel-plugin-runtime.babelrc
{
"plugins": ["runtime"]
}$ babel --plugins runtime script.jsrequire("babel-core").transform("code", {
plugins: ["runtime"]
});