blob: 60f9c325d3215083596215872e1657c2d963ee44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (C) 2018 Kevin Gibbons. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-object.fromentries
description: Throws when called without an argument.
info: |
Object.fromEntries ( iterable )
1. Perform ? RequireObjectCoercible(iterable).
...
features: [Object.fromEntries]
---*/
assert.sameValue(typeof Object.fromEntries, 'function');
assert.throws(TypeError, function() {
Object.fromEntries();
});
reportCompare(0, 0);
|