I am trying to port this Javascript code to JScript, but I am not familiar with the base library.
They are supposed to be a compatible languages but this ain't working... the following code gives me a 'method or property not supported by the object' error.
if (Array.isArray(options.boolFlags)) {
// ...
}
Is there an equivalent way to check for array type in JScript.Net?
Use x instanceof Array
if that's what you want?