aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.1/S15.1_A1_T2.js
blob: 2dd50004192547bdac1e4f4fe7760126cf5bc9f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * The global object does not have a [[Construct]] property
 *
 * @path ch15/15.1/S15.1_A1_T2.js
 * @description It is not possible to use the global object as a constructor
 * with the new operator
 * @negative
 */

new this();