summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/15_Native/15.1_The_Global_Object/S15.1_A1_T2.js
blob: 3ae2ac1202d59103e4b8484d572b47ecb179bfdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

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

new this();