Can I Transpile for ES6-ES5 without npm, VS, Node, etc. and just the JS code itself somehow?
- 阅读更多 关于 Can I Transpile for ES6-ES5 without npm, VS, Node, etc. and just the JS code itself somehow?
问题 I am trying to get Firefox to run a Promise in ES6 but run into the 'let' keyword triggering an error; SyntaxError: let is a reserved identifier Changing the script tag to include; type="application/javascript;version=1.7" did not work, so I am seeking to Transpile the code. My situation is that there is nothing being used except a text editor. No NPM, not Node or Angular, no Visual Studio, nothing. So when I investigated the Compilers, I saw no option to let me Transpile this code without