Question 47 of 10047%
47
These two files are in the same directory. What gets logged when Node.js runs main.mjs?
// counter.mjs
export let count = 0;
export function increment() {
count += 1;
}
// main.mjs
import { count, increment } from "./counter.mjs";
console.log(count);
increment();
console.log(count);
47/100