| Test case 1 |
| |
| 0 |
| 32,4.5,6.3 |
| 3 |
| |
| Test case 2 |
| |
| 0 |
| 43,54,32 |
| 3 |
| |
| Test case 3 |
| 5.43,23.4 |
| 2 |
| 23.5,32.4 |
| 2 |
| |
| Test case 4 |
| 3240,3240,3240,3240,3240 |
| 5 |
| 3240,3240,3240,3240,3240 |
| 5 |
| |
| Test case 5 |
| P0,P1,P2,d1,d2,d3,P8,P9 |
| 8 |
| P3,P4,P5,P6,P7 |
| 5 |
| |
| Test case 6 |
| 23.4,34 |
| 2 |
| |
| 0 |
| |
| Test case 7 |
| expando:0=string |
| expando:8=lastelement |
| expando:length=9 |
| expando:shift=function shift() { [native code] } |
| |
| Test case 8 |
| 32 |
| undefined |
| 123,,,,,,,,232 |
| 9 |
| |
| Test case 9 |
| ,,,,,,,100.32 |
| 8 |
| 2147483649 |
| |
| Test case 10 |
| 1.5,11.5,O3,4.5,46,O6,7.5,80.5,O9,10.5,115,O12,13.5,149.5,O15,16.5,184,O18,19.5 |
| 19 |
| 10,1.5,11.5,O3,4.5,46,O6,7.5,80.5,O9,10.5,115,O12,13.5,149.5,O15,16.5,184,O18,19.5 |
| 20 |
| 10,1.5,11.5,O3,4.5,a,b,7.5,80.5,O9,10.5,115,O12,13.5,149.5,O15,16.5,184,O18,19.5 |
| 20 |
| 46,O6 |
| 2 |
| 10,1.5,11.5,O3,4.5,a,b,a,b,13.5,149.5,O15,16.5,184,O18,19.5 |
| 16 |
| 7.5,80.5,O9,10.5,115,O12 |
| 6 |
| 10,1.5,11.5,O3,4.5,a,b,a,b,13.5,a,b,c,e,f,16.5,184,O18,19.5 |
| 19 |
| 149.5,O15 |
| 2 |
| |
| Test case 11 |
| O0,11.5,10,O3,46 |
| 5 |
| 11.5,10,O3,46 |
| 4 |
| 20,11.5,10,O3,46 |
| 11.5,10,O3,46 |
| 10,40,11.5,10,O3,46 |
| 50,10,40,11.5,10,O3,46 |
| 10,40,11.5,10,O3,46 |
| O0,11.5,10,O3,46 |
| 5 |
| 46,O3,10,11.5,O0 |
| 5 |
| O0,11.5,2,3,4 |
| 5 |
| 4,3,2,11.5,O0 |
| 5 |
| 1,2,3,O0,11.5,10 |