File: computed-property-comments.expected.js

package info (click to toggle)
node-escodegen 1.8.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,972 kB
  • ctags: 593
  • sloc: sh: 11; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 356 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var test = {
    /**
     * Before bracket init
     */
    ['a']: '1',
    [/*
     * Inside bracket init
     */
    'b']: '2',
    ['c'    /*
            * After bracket key
            */]: '3',
    // Before bracket, line comment
    ['d']: '4',
    [// Inside bracket, line comment
    'e']: '5',
    ['f'    // After bracket, line comment
]: '6'
};