Just getting started with inline native() Javascript.
Doing:
native
{
ws = new WebSocket("ws://10.0.0.222");
ws.binaryType = "arraybuffer";
ws.onopen = function (evt) {
ws.send("f");
}
ws.onmessage=function(evt) {
onMessage(evt)
};
[...]
Gives me a syntax error in Chrome:

Is this a bug with EW Studio 9.10? Or am I doing something wrong?