summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/prototype/toString/Object.prototype.toString.call-arguments.js
blob: c4a891f548bc877c9f19c55bb39df147807f826a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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]"
);

reportCompare(0, 0);