| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
gTestfile = '13.4.4.30.js'; |
| 8 |
|
| 9 |
START("13.4.4.30 - propertyIsEnumerable()"); |
| 10 |
|
| 11 |
TEST(1, true, XML.prototype.hasOwnProperty("propertyIsEnumerable")); |
| 12 |
|
| 13 |
|
| 14 |
x = |
| 15 |
<alpha> |
| 16 |
<bravo>one</bravo> |
| 17 |
</alpha>; |
| 18 |
|
| 19 |
TEST(2, true, x.propertyIsEnumerable("0")); |
| 20 |
TEST(3, true, x.propertyIsEnumerable(0)); |
| 21 |
TEST(5, false, x.propertyIsEnumerable("bravo")); |
| 22 |
TEST(6, false, x.propertyIsEnumerable()); |
| 23 |
TEST(7, false, x.propertyIsEnumerable(undefined)); |
| 24 |
TEST(8, false, x.propertyIsEnumerable(null)); |
| 25 |
|
| 26 |
END(); |