repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
put-by-val-with-symbol-replace-and-transition.js
blob
ca6a23bb983702a3080569691d2cb1e9f0776f70
1
(
function
() {
2
var
f
=
Symbol
(),
g
=
Symbol
();
3
var
o
;
4
var
n
=
1000000
;
5
for
(
var
i
=
0
;
i
<
n
; ++
i
) {
6
if
(
i
&
1
)
7
o
= {[
f
]:
1
};
8
else
9
o
= {[
f
]:
1
, [
g
]:
2
};
10
o
[
g
] =
i
;
11
}
12
if
(
o
[
g
] !=
n
-
1
)
13
throw
"Error: bad value of o.g: "
+
o
[
g
];
14
})();