summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/create/15.2.3.5-2-2.js
blob: 000675aef15a6e97815028462e661f26bcecfb78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.2.3.5-2-2
description: Object.create - returned object is an instance of Object
---*/

var newObj = Object.create({});

assert(newObj instanceof Object, 'newObj instanceof Object !== true');

reportCompare(0, 0);