2 ms·
A panic can be recovered with recover(), and thus the program can continue. While a function that does an infinite loop will halt the program and nothing else.
by ngrilly 7y ago
A panic can be recovered with recover(), and thus the program can continue. While a function that does an infinite loop will halt the program and nothing else.