(it)
| 305 | } |
| 306 | // 7.1.15 ToLength |
| 307 | function toLength(it){ |
| 308 | return it > 0 ? min(toInteger(it), MAX_SAFE_INTEGER) : 0; |
| 309 | } |
| 310 | function toIndex(index, length){ |
| 311 | var index = toInteger(index); |
| 312 | return index < 0 ? max(index + length, 0) : min(index, length); |
no test coverage detected