Hi
I have noticed that some of the JScript functions listed on MSDN website is not supported in mushclient.
for example Array.indexOf
var a = ['red', 'blue', 'green', 'blue'];
var myFirstIndex = Array.indexOf(a, "blue");
always return "Object doesn't support this property or method" error;
for...in loop also behaves weird, it does not return proper value from the array.
Just wondering if there is anyway to make those work in mushclient?
I have noticed that some of the JScript functions listed on MSDN website is not supported in mushclient.
for example Array.indexOf
var a = ['red', 'blue', 'green', 'blue'];
var myFirstIndex = Array.indexOf(a, "blue");
always return "Object doesn't support this property or method" error;
for...in loop also behaves weird, it does not return proper value from the array.
Just wondering if there is anyway to make those work in mushclient?