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