Since JS normally runs on only one thread, can a reference error from one script block subsequent JS execution as other scripts are evaluated?
Thanks!
Separate scripts are evaluated separately, so no (unless of course the error in the first script broke something that the second script depended on).
The error itself will only break the current execution of code. Even other code in the same script can continue to function if otherwise unencumbered. (For example event handlers that were bound and were not directly affected by the error.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With