Debian Codegraph @

js/src/tests/test262/language/arguments-object/arguments-caller.js

raw
1 // Copyright (c) 2016 Kevin Gibbons. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-arguments-exotic-objects
6 description: arguments.caller does not exist
7 ---*/
8
9 function getArguments() {
10 return arguments;
11 }
12 assert.sameValue(Object.getOwnPropertyDescriptor(getArguments(), 'caller'), undefined, 'arguments.caller does not exist');
13
14 reportCompare(0, 0);