summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/arguments-object/arguments-caller.js
blob: 52769525506f9f49593dac61bd505042795f8a80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2016 Kevin Gibbons.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-arguments-exotic-objects
description: arguments.caller does not exist
---*/

function getArguments() {
  return arguments;
}
assert.sameValue(Object.getOwnPropertyDescriptor(getArguments(), 'caller'), undefined, 'arguments.caller does not exist');

reportCompare(0, 0);