1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 description: Invoked as a constructor
9 Built-in function objects that are not identified as constructors do not
10 implement the [[Construct]] internal method unless otherwise specified in
11 the description of a particular function.
14 assert.throws(TypeError, function() {
15 new Object.assign({});