mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
4 years ago
3 changed files with 16 additions and 1 deletions
@ -0,0 +1,14 @@ |
|||
// https://github.com/svaarala/duktape/issues/2202
|
|||
|
|||
/*=== |
|||
A |
|||
B |
|||
{} |
|||
done |
|||
===*/ |
|||
|
|||
print('A'); |
|||
Object.defineProperty(Array.prototype, 0, { set: function () { } }) |
|||
print('B'); |
|||
print(String(JSON.stringify({ }, [ 0, 0]))); |
|||
print('done'); |
Loading…
Reference in new issue