1 // makeswf -v 7 -r 1 -o object-hasownproperty-7.swf object-hasownproperty.as
4 o
.hasOwnProperty
= ASnative
(101, 5);
7 for (var i
= 0; i
<= 13; i
++) {
9 ASSetPropFlags
(o
, 1 << i
, 1 << i
, 0);
12 trace
("(no param): " + o
.hasOwnProperty
());
13 trace
("not_found: " + o
.hasOwnProperty
("not_found"));
14 trace
("0: " + o
.hasOwnProperty
(0));
15 for (var i
= 0; i
<= 13; i
++) {
16 trace
(1 << i
+ ": " + o
.hasOwnProperty
(1 << i
));
19 loadMovie
("FSCommand:quit", "");