lexical-bindings-overriden-by-formal-parameters-non-strict.js (338B)
1 // Copyright (C) 2015 the V8 project authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 /*--- 4 es6id: 14.2.16 5 description: > 6 Runtime Semantics: Evaluation 7 8 flags: [noStrict] 9 ---*/ 10 function f() { 11 return (arguments) => arguments; 12 } 13 14 assert.sameValue(f(1)(2), 2); 15 16 reportCompare(0, 0);