2015-07-17 17:43:09 +02:00

19 lines
419 B
JavaScript

// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 13.1-2-6
description: >
arguments allowed as formal parameter name of a non-strict
function expression
includes: [runTestCase.js]
flags: [noStrict]
---*/
function testcase()
{
eval("(function foo(arguments){});");
return true;
}
runTestCase(testcase);