test262/test/language/keywords/S7.6.1.1_A1.25.js

14 lines
328 B
JavaScript
Raw Normal View History

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The "with" token can not be used as identifier
2014-07-25 00:41:42 +02:00
es5id: 7.6.1.1_A1.25
description: Checking if execution of "with=1" fails
negative:
phase: early
type: SyntaxError
---*/
with = 1;