Re: Intent to ship: Hashbang syntax in JS (a "#!" line at the very start of a script is a single-line comment)

2019-03-01 Thread masataka . yakura
On Friday, March 1, 2019 at 6:55:07 AM UTC+9, Jeff Walden wrote: > > ## Support in other browser / JS engines > > https://github.com/v8/v8/commit/0cd67eb7c57e109aa4cbc8b8bdff6b9eaf8c1286 > suggests v8 and Chrome are shipping this as of this week. > > I couldn't find Safari/JavaScriptCore

Re: Intent to ship: Hashbang syntax in JS (a "#!" line at the very start of a script is a single-line comment)

2019-03-01 Thread Till Schneidereit
Thank you for doing this! It's a minor, but real, source of potential web-compat issues, so it's nice to have it handled. On Thu, Feb 28, 2019 at 11:00 PM Jeff Walden wrote: > ## Support in other browser / JS engines > > https://github.com/v8/v8/commit/0cd67eb7c57e109aa4cbc8b8bdff6b9eaf8c1286 >

Intent to ship: Hashbang syntax in JS (a "#!" line at the very start of a script is a single-line comment)

2019-02-28 Thread Jeff Walden
# Intent to ship: Hashbang syntax ## Introduction As JS metastasizes from the web to Node and shell scripts and the like, it becomes useful to run scripts directly in the shell and let the shell decide how. The traditional way to do this is with an initial hashbang (or shebang) line