summaryrefslogtreecommitdiff
path: root/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.22.js
blob: cdb72c38639b75f8f3dd990f0611485e35651833 (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.

/**
 * @name: S7.5.3_A1.22;
 * @section: 7.5.3;
 * @assertion: The "private" token can not be used as identifier in strict code;
 * @description: Checking if execution of "private=1" fails in strict code;
 * @negative
 * @onlyStrict
 */

"use strict";
var private = 1;