Servoy editor pops up and error for the following expression
var a = new Object();
a.method1 = method1;
if (typeof(a.method1) == "function") {
...
..
.
}
I thought only the keyword function is not allowed and not the string “function”
Also the following gives error too (2nd line)
var a = new Object();
a.new = "yyy";