Debian Codegraph @

js/src/tests/test262/language/statements/function/invalid-name-two-dots.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright (c) 2012 Ecma International. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 es5id: 13.0-4
7 description: >
8 13.0 - multiple names in one function declaration is not allowed,
9 add a new property into a property which is a object
10 negative:
11 phase: parse
12 type: SyntaxError
13 ---*/
14
15 $DONOTEVALUATE();
16
17 function obj.tt.ss() {}