It's in JavaScript not C language, so I think it's not duplicate
I was testing some code and I found this one :-
for (;;) {
console.log("test");
}
And the iterations kept going forever
I was wondering what does this ;;
mean? And what is its use case?
PS :- don't run it as it will freeze for infinite iteration.