blob: f98f3325a449fd31e1fae7116492700e1e9cfa31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* exported getCount, getCountViaB, incrementCount */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
// SPDX-FileCopyrightText: 2008 Red Hat, Inc.
const B = imports.mutualImport.b;
let count = 0;
function incrementCount() {
count++;
}
function getCount() {
return count;
}
function getCountViaB() {
return B.getCount();
}
|