mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
8 lines
97 B
JavaScript
8 lines
97 B
JavaScript
class C {
|
|
#c = 0;
|
|
nextId() {
|
|
return "id-" + this.#c++;
|
|
}
|
|
}
|
|
new C().nextId();
|