mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
fix(proposals): shell exec style
Executing file directly must start with (absolute/relative) path under Linux
This commit is contained in:
parent
ac50325b6e
commit
1474f82f17
@ -596,7 +596,7 @@ console.log(1);
|
||||
$ node hello.js
|
||||
|
||||
# hashbang 的方式
|
||||
$ hello.js
|
||||
$ ./hello.js
|
||||
```
|
||||
|
||||
对于 JavaScript 引擎来说,会把`#!`理解成注释,忽略掉这一行。
|
||||
|
Loading…
x
Reference in New Issue
Block a user