Strict mode Failing
Expected no error, got ESHostError: arguments.caller does not exist Expected SameValue(«[object Object]», «undefined») to be true
Features:
- ∅
Expected no error, got ESHostError: arguments.caller does not exist Expected SameValue(«[object Object]», «undefined») to be true
// 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');