mirror of https://github.com/tc39/test262.git
12 lines
311 B
JavaScript
12 lines
311 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
info: The "class" token can not be used as identifier
|
|
es5id: 7.6.1.2_A1.5
|
|
description: Checking if execution of "class=1" fails
|
|
negative: SyntaxError
|
|
---*/
|
|
|
|
var class = 1;
|