| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
gTestfile = '15.7.3.1-2.js'; |
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
var SECTION = "15.7.3.1-2"; |
| 22 |
var VERSION = "ECMA_1"; |
| 23 |
startTest(); |
| 24 |
var TITLE = "Number.prototype"; |
| 25 |
|
| 26 |
writeHeaderToLog( SECTION + " "+ TITLE); |
| 27 |
|
| 28 |
new TestCase( SECTION, |
| 29 |
"var NUM_PROT = Number.prototype; Number.prototype = null; Number.prototype == NUM_PROT", |
| 30 |
true, |
| 31 |
eval("var NUM_PROT = Number.prototype; Number.prototype = null; Number.prototype == NUM_PROT") ); |
| 32 |
|
| 33 |
new TestCase( SECTION, |
| 34 |
"Number.prototype=0; Number.prototype", |
| 35 |
Number.prototype, |
| 36 |
eval("Number.prototype=0; Number.prototype") ); |
| 37 |
|
| 38 |
test(); |