Debian Codegraph @

js/src/tests/test262/language/literals/numeric/7.8.3-1gs-strict.js

raw
1 // |reftest| error:SyntaxError
2 'use strict';
3 // Copyright (c) 2012 Ecma International. All rights reserved.
4 // This code is governed by the BSD license found in the LICENSE file.
5
6 /*---
7 es5id: 7.8.3-1gs
8 description: Strict Mode - octal extension(010) is forbidden in strict mode
9 negative:
10 phase: parse
11 type: SyntaxError
12 flags: [onlyStrict]
13 ---*/
14
15 $DONOTEVALUATE();
16
17 var y = 010;