node: add print argument example (#2688)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
1286509fe5
commit
9368ca7301
@@ -13,3 +13,7 @@
|
|||||||
- Evaluate JavaScript by passing it in the command:
|
- Evaluate JavaScript by passing it in the command:
|
||||||
|
|
||||||
`node -e "{{code}}"`
|
`node -e "{{code}}"`
|
||||||
|
|
||||||
|
- Evaluate and print result, useful to see node's dependencies versions:
|
||||||
|
|
||||||
|
`node -p "{{process.versions}}"`
|
||||||
|
Reference in New Issue
Block a user