summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Tests/comments-basic.js
blob: 1fc068681b764e709d002c54b3bc0ba6e32d4a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
load("test-common.js")

try {
    var i = 0;

    // i++;
    /* i++; */
    /*
    i++;
    */
    <!-- i++; --> i++;
    <!-- i++;
    i++;
    --> i++;

    assert(i === 1);

    console.log('PASS');
} catch (e) {
    console.log('FAIL: ' + e);
}