JShell: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→JJS) |
||
(One intermediate revision by the same user not shown) | |||
Line 12: | Line 12: | ||
/exit | /exit | ||
</source> | </source> | ||
==JJS== | |||
'''jjs>''' load('https://cdn.chorke.org/exec/cli/nashorn/finology/xpresscover/myinit_script.js'); | |||
'''jjs>''' var name = 'Chorke Academia, Inc.' | |||
'''jjs>''' name | |||
Chorke Academia, Inc. | |||
==References== | ==References== |
Latest revision as of 11:21, 21 February 2022
System.out.println("Hello world!");
IntStream.range(1, 10).forEach(System.out::println);
/exit
jshell <(curl -s 'https://cdn.chorke.org/exec/cli/java/00_hello_world.jsh.txt')
jshell ./00_hello_world.jsh
jshell -v
/exit
JJS
jjs> load('https://cdn.chorke.org/exec/cli/nashorn/finology/xpresscover/myinit_script.js'); jjs> var name = 'Chorke Academia, Inc.' jjs> name Chorke Academia, Inc.