OLD | NEW |
(Empty) | |
| 1 This tests the length property of functions. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS window.confirm.length is 0 |
| 7 PASS window.open.length is 2 |
| 8 PASS window.showModalDialog.length is 1 |
| 9 PASS window.setTimeout.length is 1 |
| 10 PASS window.clearTimeout.length is 0 |
| 11 PASS window.addEventListener.length is 2 |
| 12 PASS Array.prototype.concat.length is 1 |
| 13 PASS Array.prototype.join.length is 1 |
| 14 PASS Array.prototype.push.length is 1 |
| 15 PASS Array.prototype.slice.length is 2 |
| 16 PASS Date.UTC.length is 7 |
| 17 PASS Date.prototype.setSeconds.length is 2 |
| 18 PASS Date.prototype.setMinutes.length is 3 |
| 19 PASS Date.prototype.setHours.length is 4 |
| 20 PASS Date.prototype.setMonth.length is 2 |
| 21 PASS Date.prototype.setFullYear.length is 3 |
| 22 PASS Number.prototype.toExponential.length is 1 |
| 23 PASS Number.prototype.toFixed.length is 1 |
| 24 PASS Number.prototype.toPrecision.length is 1 |
| 25 PASS Math.max.length is 2 |
| 26 PASS Math.min.length is 2 |
| 27 PASS Function.prototype.apply.length is 2 |
| 28 PASS Function.prototype.call.length is 1 |
| 29 PASS String.prototype.split.length is 2 |
| 30 PASS String.prototype.substring.length is 2 |
| 31 PASS successfullyParsed is true |
| 32 |
| 33 TEST COMPLETE |
| 34 |
OLD | NEW |