Sign in
webkit
/
WebKit
/
23f2af82553c2cee7bae08392f2e9ba6e8c9e0c0
/
.
/
LayoutTests
/
js
/
script-tests
/
dfg-arguments-strict-mode.js
blob: d02cc4cc6a15537e9a0575b5c5561991f70cdd6d [
file
] [
log
] [
blame
]
description
(
"Tests what happens when you use arguments in strict mode and present the DFG with a tempting optimization opportunity."
);
function
f
(
a
)
{
"use strict"
;
a
=
5
;
return
arguments
[
0
];
}
dfgShouldBe
(
f
,
"f(1)"
,
"1"
);