summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Function/S15.3_A1.js
blob: cfbb6bfd0030751b5065c1314f9098482087d97c (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: Function is the property of global
es5id: 15.3_A1
description: Compare Function with this.Function
---*/

var obj = Function;

var thisobj = this.Function;

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

reportCompare(0, 0);