command line - Javascript in console or CLI? -


when says running "code.js" in console or cli, mean? need make command line execute .js files locally?

windowsos

to run javascript "in console", open developer tools in favourite browser , open "console" window. gives access javascript environment of current page.

to run javascript in cli, need javascript interpreter. both rhino , nodejs provide interpreters can used command-line of modern systems. (of two, nodejs more popular standalone applications written in javascript, , rhino more popular embedding javascript in other applications.)


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -