We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What am I doing wrong? It looks like it is still strict to me...
> ls -a . .. loose.js > cat loose.js var foo = 'bar'; delete foo; > yarn add babel-cli babel-preset-es2015-without-strict (installs packages) > echo '{ > "presets": ["es2015-without-strict"] > }' > .babelrc > cat .babelrc { "presets": ["es2015-without-strict"] } > ./node_modules/.bin/babel loose.js --presets es2015-without-strict SyntaxError: loose.js: Deleting local variable in strict mode (2:0) 1 | var foo = 'bar'; > 2 | delete foo; | ^ 3 |
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What am I doing wrong? It looks like it is still strict to me...
The text was updated successfully, but these errors were encountered: