In order to have worlds working in both Python and Javascript, it would be convenient to define a function that could throw an error (i.e. raise an exception).
Note: this would not be useful as it would required to be used in an if statement or similar, which would clearly not be possible to do in a language agnostic way.
In order to have worlds working in both Python and Javascript, it would be convenient to define a function that could throw an error (i.e. raise an exception).