mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
8 years ago
1 changed files with 16 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||
|
/* |
||||
|
* Stale 'act' pointer in pre/post inc/dec handling. |
||||
|
* https://github.com/svaarala/duktape/issues/1370
|
||||
|
* |
||||
|
|
||||
|
/*=== |
||||
|
RangeError |
||||
|
===*/ |
||||
|
|
||||
|
try { |
||||
|
(function foo() { |
||||
|
foo--; foo(); |
||||
|
})(); |
||||
|
} catch (e) { |
||||
|
print(e.name); // eventual RangeError
|
||||
|
} |
Loading…
Reference in new issue