mirror of
https://github.com/RGBCube/serenity
synced 2026-01-12 17:41:00 +00:00
This can be used to implement arbitrary functionality, callable from
JavaScript.
To make this work, I had to change the way CallExpression passes
arguments to the callee. Instead of a HashMap<String, Value>, we now
pass an ordered list of Argument { String name; Value value; }.
This patch includes a native "print(argument)" function. :^)
1 line
24 B
JavaScript
1 line
24 B
JavaScript
print("Hello friends!")
|