summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/ch10/10.1/S10.1.6_A1_T3.js
blob: 95e1bf2ef3858b57d185ffa039b2d924fbb211ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * The activation object is initialised with a property with name arguments and attributes {DontDelete}
 *
 * @path ch10/10.1/S10.1.6_A1_T3.js
 * @description Checking function which returns "this"
 * @noStrict
 */

function f1() {
  if (delete arguments) {
    $ERROR("#1: Function parameters have attribute {DontDelete}" + arguments);
  }
  return arguments;
}

f1();