package leenkx.logicnode;
class RunJavascriptNode extends LogicNode {
public function new(tree:LogicTree) {
super(tree);
}
override function run(from:Int) {
#if js
var script = inputs[1].get();
js.Syntax.code('(1, eval)({0})', script.toString());
runOutput(0);
#end