summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/variable/arguments-fn-non-strict.js
blob: 0b4f69396a5dcb917e648d8bd666f21ea55a1441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2018 Mike Pennisi.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 12.2.1-12
esid: sec-variable-statement
description: >
  arguments as local var identifier is allowed within a function declaration
flags: [noStrict]
---*/

function f() {
  var arguments;
}

reportCompare(0, 0);