Sign in
webkit
/
WebKit
/
939e9d9dca352ef0e519c767220f928dea5a0c13
/
.
/
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"
);