test262/test/built-ins/Object/getOwnPropertyDescriptors/normal-object.js

14 lines
423 B
JavaScript
Raw Normal View History

2016-02-01 19:44:25 +01:00
// 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
2016-02-01 19:44:25 +01:00
author: Jordan Harband
---*/
assert.sameValue(
Object.getPrototypeOf(Object.getOwnPropertyDescriptors({})),
Object.prototype
);