mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
12 years ago
1 changed files with 14 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||
/*=== |
|||
3,4,5 |
|||
3,4,5 |
|||
===*/ |
|||
|
|||
/* Broken at some point: end would not default to 'length' */ |
|||
|
|||
try { |
|||
print([1,2,3,4,5].slice(2)); |
|||
print([1,2,3,4,5].slice(2, 5)); |
|||
} catch (e) { |
|||
print(e); |
|||
} |
|||
|
Loading…
Reference in new issue