aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.23.js
blob: 0c1cd16f07548414ffdde1f5f5e328b939708462 (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.23;
 * @section: 7.5.3;
 * @assertion: The "protected" token can not be used as identifier in strict code;
 * @description: Checking if execution of "protected=1" fails in
 * strict code;
 * @negative
 */

"use strict";
var protected = 1;