typescript endless loop code example
Example: typescript endless loop
for (;;) {
console.log(“This is an endless loop”)
}
// or
while (true) {
console.log(“This is an endless loop”)
}
for (;;) {
console.log(“This is an endless loop”)
}
// or
while (true) {
console.log(“This is an endless loop”)
}