diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/arguments/bug1227287.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/arguments/bug1227287.js b/js/src/jit-test/tests/arguments/bug1227287.js new file mode 100644 index 0000000000..d0c6b88262 --- /dev/null +++ b/js/src/jit-test/tests/arguments/bug1227287.js @@ -0,0 +1,8 @@ +// Note: Ion/Warp have known issues with function.arguments. See bug 1626294. + +function f(y) { + y = 1; + assertEq(arguments.callee.arguments[0], 1); + return () => y; +} +f(0); |