Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.script.*;
- public class SomeClass {
- public static void main(final String[] args) throws ScriptException {
- new ScriptEngineManager().getEngineByExtension("js").eval("print(1+1*3==4);");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement