summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/S15.2_A1.js
blob: 5b510c5aa2232d5ecd21454c18c998bd4486cc41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Object is the property of global
es5id: 15.2_A1
description: Checking if Object equals to this.Object
---*/

var obj = Object;

var thisobj = this.Object;

if (obj !== thisobj) {
  $ERROR('Object is the property of global');
}

reportCompare(0, 0);