projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge "fix: the incorrect version of tarball generated by gbs export" into tizen
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
basic
/
testDenseArrayProp.js
1
function testDenseArrayProp()
2
{
3
[].__proto__.x = 1;
4
({}).__proto__.x = 2;
5
var a = [[],[],[],({}).__proto__];
6
for (var i = 0; i < a.length; ++i)
7
uneval(a[i].x);
8
delete [].__proto__.x;
9
delete ({}).__proto__.x;
10
return "ok";
11
}
12
assertEq(testDenseArrayProp(), "ok");