mirror of https://github.com/tc39/test262.git
22 lines
388 B
Plaintext
22 lines
388 B
Plaintext
// Copyright (C) 2017 Caio Lima. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
desc: >
|
|
TypeError is thrown when rhs is null because of 7.1.13 ToObject ( argument )
|
|
used by CopyDataProperties
|
|
template: error
|
|
esid: pending
|
|
features: [object-rest]
|
|
---*/
|
|
|
|
//- error
|
|
TypeError
|
|
//- setup
|
|
var rest;
|
|
//- elems
|
|
{...rest}
|
|
//- vals
|
|
null
|
|
|