I just started to learn node.js and I use macbook pro. In its terminal when I write any node.js command like console.log("Hello World"); its shows -bash: syntax error near unexpected token `"Hello World"'. How can I solve this?
键入node
然后按Enter键然后键入console.log("Hello World")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.