1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge pull request #971 from waitingsong/shell-exec

fix(proposals): shell exec style
This commit is contained in:
Ruan YiFeng 2020-04-09 14:22:58 +08:00 committed by GitHub
commit 38963f7dfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -596,7 +596,7 @@ console.log(1);
$ node hello.js $ node hello.js
# hashbang 的方式 # hashbang 的方式
$ hello.js $ ./hello.js
``` ```
对于 JavaScript 引擎来说,会把`#!`理解成注释,忽略掉这一行。 对于 JavaScript 引擎来说,会把`#!`理解成注释,忽略掉这一行。