mirror of https://github.com/tc39/test262.git
13 lines
395 B
JavaScript
13 lines
395 B
JavaScript
|
// 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');
|