blob: e4bd77dac7c7d7f9024e6fe0fb0b44e8a9df8c54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
var arguments;
function b(foo) {
delete foo.d
delete foo.w
foo.d = true
foo.w = Object
delete Object.defineProperty(foo, "d", ({
set: Math.w
})); {}
}
for(e of [arguments, arguments]) {
try {
b(e)('')
} catch (e) {}
}
reportCompare(0, 0, "ok");
|