From 1474f82f17f9c77d1acef3b0d012b7c9b5a2f170 Mon Sep 17 00:00:00 2001 From: waiting <1661926154@qq.com> Date: Tue, 7 Apr 2020 10:27:28 +0800 Subject: [PATCH] fix(proposals): shell exec style Executing file directly must start with (absolute/relative) path under Linux --- docs/proposals.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/proposals.md b/docs/proposals.md index aa077ac..5439055 100644 --- a/docs/proposals.md +++ b/docs/proposals.md @@ -596,7 +596,7 @@ console.log(1); $ node hello.js # hashbang 的方式 -$ hello.js +$ ./hello.js ``` 对于 JavaScript 引擎来说,会把`#!`理解成注释,忽略掉这一行。