Debian Codegraph @

js/src/tests/non262/Unicode/uc-002-n.js

raw
1 /* -*- indent-tabs-mode: nil; js-indent-level: 4 -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 var BUGNUMBER = 23607;
7 DESCRIPTION = "Non-character escapes in identifiers negative test.";
8
9 printStatus ("Non-character escapes in identifiers negative test.");
10 printBugNumber (BUGNUMBER);
11
12 eval("\u0020 = 5");
13 reportCompare('PASS', 'FAIL', "Previous statement should have thrown an error.");
14