Support throw statement in javascript engine

#1

From GitHub:

This is to be able to abort running scripts from within scripts themselves:

var component = juce.Desktop.getComponent("buttonId");
if (!component.isVisible())
    throw "Test failure !";
0 Likes