Sub BANano_Ready()
#If JAVASCRIPT
alert("!");
#End If
End Sub
is transpiled to this code:
B4X:
function banano_demo2() {
var self;
// [34] Sub BANano_Ready()
this.banano_ready= function() {
if (self==null) self=this;
// End Sub
};
}
alert("!");
_banano_demo2.banano_ready();