test262/test/language/reserved-words/S7.6.1_A1.1.js

14 lines
330 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 "null" token can not be used as identifier
es5id: 7.6.1_A1.1
description: Checking if execution of "null = 1" fails
negative:
phase: early
type: ReferenceError
---*/
null = 1;