Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
microbenchmarks
/
proxy-has-hit.js
blob: db956684387c5f61a279db40ddba27143c81fa24 [
file
] [
log
] [
blame
] [
edit
]
(
function
()
{
var
proxy
=
new
Proxy
({},
{
has
(
target
,
propertyName
)
{
return
true
;
}
});
var
has
;
for
(
var
i
=
0
;
i
<
1e7
;
++
i
)
has
=
"test"
in proxy
;
})();