Spotlight archive
Guess the language.
Three lines, six guesses.
MODESpotlight0/6
Spotlight · ?.??
1class Counter { #n = 0; inc() { return ++this.#n; } }
2const c = new Counter();
3console.log(c.inc(), c.inc(), c.inc());
+ 29 more — keep typing to narrow
Keep going