I get a warning stating “The method join() is undefined for object ” for “join()” function in code below:
function isThisABug(){
var test = {element: []},
str = '';
test.element[0] = ['Apple', 'Orange', 'Banana'];
str = test.element[0].join(',');
application.output(str);
}
However the code runs as expected. This looks like a bug and I wasn’t able to find a workaround yet (although I solved the problem by re-working the algorithm in the program).