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