mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
10 years ago
2 changed files with 3112 additions and 0 deletions
File diff suppressed because it is too large
@ -0,0 +1,15 @@ |
|||
/*=== |
|||
0 |
|||
===*/ |
|||
|
|||
function test() { |
|||
var arr = [ 'foo', 'bar', 'quux' ]; |
|||
arr.length = -0; |
|||
print(arr.length); |
|||
} |
|||
|
|||
try { |
|||
test(); |
|||
} catch (e) { |
|||
print(e.stack || e); |
|||
} |
Loading…
Reference in new issue