Error: Recursive Function Call Exceeded Maximum Depth
function paradox() {
while (true) {
console.log('Hello, world!');
paradox();
}
}
When you call paradox(), the function prints Hello, world! to the console, then calls itself. This creates an infinite loop that cannot be resolved.