Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

babel/babel#12354

node v14.20.1
version: 1.0.0
endpointsharetweet
const babel = require("@babel/core@7.12.0"); // babel config const config = { sourceType: "module", parserOpts: { errorRecovery: true } }; // input const input = ` function foo() {} function foo() {} `; var out = babel.transformSync(input, config).code; console.log(out);
Loading…

no comments

    sign in to comment