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 1 |
| 7 PASS window.alert.length is 1 |
| 8 PASS window.find.length is 7 |
| 9 PASS window.stop.length is 0 |
| 10 PASS window.scrollBy.length is 2 |
| 11 PASS Array.prototype.concat.length is 1 |
| 12 PASS Array.prototype.join.length is 1 |
| 13 PASS Array.prototype.push.length is 1 |
| 14 PASS Array.prototype.slice.length is 2 |
| 15 PASS Date.UTC.length is 7 |
| 16 PASS Date.prototype.setSeconds.length is 2 |
| 17 PASS Date.prototype.setMinutes.length is 3 |
| 18 PASS Date.prototype.setHours.length is 4 |
| 19 PASS Date.prototype.setMonth.length is 2 |
| 20 PASS Date.prototype.setFullYear.length is 3 |
| 21 PASS Number.prototype.toExponential.length is 1 |
| 22 PASS Number.prototype.toFixed.length is 1 |
| 23 PASS Number.prototype.toPrecision.length is 1 |
| 24 PASS Math.max.length is 2 |
| 25 PASS Math.min.length is 2 |
| 26 PASS Function.prototype.apply.length is 2 |
| 27 PASS Function.prototype.call.length is 1 |
| 28 PASS String.prototype.split.length is 2 |
| 29 PASS String.prototype.substring.length is 2 |
| 30 PASS successfullyParsed is true |
| 31 |
| 32 TEST COMPLETE |
| 33 |
OLD | NEW |