Allows the first line of a script or module source file to specify an interpreter to evaluate the script. e.g. ``` #!/path/to/v8/v8-shell print('Hello, world!'); ```

Specification

Editor's draft

Status in Chromium

Blink>JavaScript


Enabled by default (tracking bug) in:

  • Chrome for desktop release 74

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • In development
  • No signal
  • No signal
  • No signals

Owner

Comments

This feature has been present in Node.js without any flags since 2009.

Search tags

hashbang, shebang, interpreter, shell, command, script,

Last updated on 2020-11-09