summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/getOwnPropertyDescriptors/normal-object.js
blob: 44faa13b10f93c1d32056d6bb64c921e9d337830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2016 Jordan Harband. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: Object.getOwnPropertyDescriptors should produce a normal object inheriting from Object.prototype
esid: sec-object.getownpropertydescriptors
author: Jordan Harband
---*/

assert.sameValue(
  Object.getPrototypeOf(Object.getOwnPropertyDescriptors({})),
  Object.prototype
);

reportCompare(0, 0);