File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ The output of this option is less detailed than this document.
43
43
### ` -e ` , ` --eval "script" `
44
44
<!-- YAML
45
45
added: v0.5.2
46
+ changes:
47
+ - version: v5.11.0
48
+ pr-url: https://github.com/nodejs/node/pull/5348
49
+ description: Built-in libraries are now available as predefined variables.
46
50
-->
47
51
48
52
Evaluate the following argument as JavaScript. The modules which are
@@ -52,14 +56,20 @@ predefined in the REPL can also be used in `script`.
52
56
### ` -p ` , ` --print "script" `
53
57
<!-- YAML
54
58
added: v0.6.4
59
+ changes:
60
+ - version: v5.11.0
61
+ pr-url: https://github.com/nodejs/node/pull/5348
62
+ description: Built-in libraries are now available as predefined variables.
55
63
-->
56
64
57
65
Identical to ` -e ` but prints the result.
58
66
59
67
60
68
### ` -c ` , ` --check `
61
69
<!-- YAML
62
- added: v5.0.0
70
+ added:
71
+ - v5.0.0
72
+ - v4.2.0
63
73
-->
64
74
65
75
Syntax check the script without executing.
You can’t perform that action at this time.
0 commit comments