Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 5768  / 3 Years ago, sun, may 23, 2021, 4:29:01

In OSX there is a hidden utility called jsc, part of WebKit, that can be used to run JavaScript code on the command line. It can be used as a JavaScript console, like irb for Ruby.



I have the libwebkitgtk-3.0 and -3.0-dev libraries installed, but I cannot figure out how to find or build jsc. Is it even possible?



Note: I already know about alternatives like Rhino, SpiderMonkey, etc.


More From » console

 Answers
6

Install a link to install rhino and use rhino-jsc (see manpage)


[#40721] Monday, May 24, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lowstonnequ

Total Points: 279
Total Questions: 125
Total Answers: 123

Location: Finland
Member since Sun, Dec 5, 2021
2 Years ago
;