Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/expressions/this/S11.1.1_A1.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: The "this" is reserved word
6 es5id: 11.1.1_A1
7 description: Checking if execution of "this=1" fails
8 negative:
9 phase: parse
10 type: ReferenceError
11 ---*/
12
13 throw "Test262: This statement should not be evaluated.";
14
15 this = 1;