mirror of https://github.com/tc39/test262.git
14 lines
423 B
JavaScript
14 lines
423 B
JavaScript
// 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
|
|
);
|