1 // makeswf -v 7 -s 200x150 -r 1 -o initobject-stack.swf initobject-stack.as
3 trace
("Check that InitObject consumes the right amount of stack");
5 // Don't eat too much stack
16 // Don't try to eat nonexisting stack
18 push
"hi", undefined, "undefined", 1, "one", 2, "two", 5
26 trace
(hi
.hasOwnProperty
("hi"));
27 trace
(hi
.hasOwnProperty
("undefined"));
29 loadMovie
("FSCommand:quit", "");