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(); }