summaryrefslogtreecommitdiff
path: root/test/js/modules/mutualImport/a.js
blob: 5f03f7b1e873f85613d781e12b89b724c5c7db66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// application/javascript;version=1.8
const B = imports.mutualImport.b;

let count = 0;

function incrementCount() {
    count++;
}

function getCount() {
    return count;
}

function getCountViaB() {
    return B.getCount();
}