Allow parsing of the exponentiation operator.
$ npm install babel-plugin-syntax-exponentiation-operator
.babelrc
{
"plugins": ["syntax-exponentiation-operator"]
}
$ babel --plugins syntax-exponentiation-operator script.js
require("babel-core").transform("code", {
plugins: ["syntax-exponentiation-operator"]
});