Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE
[gecko.git] / js / xpconnect / tests / unit / non_shared_1.mjs
blob9b909c134a49e18041fcd34a612db7febebe86a8
1 import { setGlobal } from "./non_shared_2.mjs";
3 globalThis["loaded"].push(1);
5 globalThis["counter"] = 0;
7 let counter = 0;
9 export function getCounter() {
10   return counter;
13 export function incCounter() {
14   counter++;
17 export function putCounter() {
18   setGlobal("counter", counter);