summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/prototype/toString/S15.2.4.2_A15.js
blob: 37eedc92a8f3908be3d48941ed1e32bffc68c7b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2011 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.2.4.2_A15
description: >
    Let O be the result of calling ToObject passing the this value as
    the argument.
---*/

if (Object.prototype.toString.call(true) !== "[object Boolean]") {
  $ERROR('Let O be the result of calling ToObject passing the this ' +
         'value as the argument.');
}