Contact emails: [email protected], [email protected] Spec: https://tc39.github.io/proposal-hashbang/ <https://tc39.github.io/proposal-hashbang/> V8-Bug: https://crbug.com/v8/8523 <https://crbug.com/v8/8523>
Explainer / Summary / Motivation: This proposal is to match de-facto usage in some CLI JS hosts that allow for Shebangs / Hashbang. Such hosts strip the hashbang in order to generate valid JS source texts before passing to JS engines currently. This would unify and standardize how that is done. This feature is generally not intended to be consumed by the browser (rather, non-browser JS hosts) --- however, it potentially allows for a script with an interpreter line to run in the browser without modification, which could be seen as a benefit. Interoperability and Compatibility Risks: Firefox: In development (https://bugzilla.mozilla.org/show_bug.cgi?id=1519097 <https://bugzilla.mozilla.org/show_bug.cgi?id=1519097>) Safari: Unknown Ergonomics: N/A, with the exception that we will want to make sure the web inspector knows how to process the interpreter line, so that it doesn't harm the debugging experience. Activation: n/a Link to entry on the feature dashboard: https://www.chromestatus.com/feature/5134505706782720 <https://www.chromestatus.com/feature/5134505706782720> -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
