blob: 4730f9be04800e2572128f4f27b8c6d406f87ba2 [file] [log] [blame]
// Copyright 2018 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-object.prototype.tostring
description: has a [[ParameterMap]] internal slot, let builtinTag be "Arguments".
---*/
assert.sameValue(
Object.prototype.toString.call(function() { return arguments; }()),
"[object Arguments]",
"Object.prototype.toString.call(function() { return arguments; }()) returns [object Arguments]"
);