I got this when I was trying to find some way to run my JavaScript programs through terminal. The run and load command mentioned can execute external J
run
load
NOTE for MacOS Catalina (10.15.x) users
jsc now lives on a new path:
jsc
/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Helpers/jsc
Make that adjustment to @hurrymaplelad's instructions and you'll be good to go.