Browswer: IE 4.0.
I'm trying to use the push() method of object Array. But it doesn't seem to be working in my browser.
I get this error:
Object doesn't support this property or method.
I went to the debugger and this is the code it was at:
myFish = ["angel", "clown"];
document.writeln("myFish before: " + myFish);
pushed = myFish.push("drum", "lion"); // This line caused the error.
document.writeln("myFish after: " + myFish);
document.writeln("pushed this element last: " + pushed);