mirror of
https://github.com/tc39/test262.git
synced 2025-08-28 13:28:38 +02:00
17 lines
406 B
JavaScript
17 lines
406 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/**
|
|
* The "protected" token can not be used as identifier in strict code
|
|
*
|
|
* @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.23.js
|
|
* @description Checking if execution of "protected=1" fails in
|
|
* strict code
|
|
* @onlyStrict
|
|
* @negative
|
|
*/
|
|
|
|
"use strict";
|
|
var protected = 1;
|
|
|