aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.2/S15.2_A1.js
blob: 985b65afc73d0b78ec070449828be3f6b1a45bdd (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.

/**
 * Object is the property of global
 *
 * @path ch15/15.2/S15.2_A1.js
 * @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');
}