windows command line javascript

前端 未结 5 1917
小鲜肉
小鲜肉 2021-02-14 04:21

I\'m trying to run javascript from a windows command line via script

cscript //NoLogo test.js

However, I can\'t find any predefined objects which are av

5条回答
  •  不要未来只要你来
    2021-02-14 04:49

    If you really want to run JavaScript in a shell, then you should consider installing Node.js

    http://javascript.cs.lmu.edu/notes/commandlinejs/

提交回复
热议问题