Where are JavaScript errors logged?
Have you ever wondered how and where JavaScript errors are logged?
Unlike other web languages, JavaScript was originally a client-side language. As a result, error handling is designed with the client side in mind, rather than the server side. Rather than dealing with log files, rotation, permissions, and all the other fun things that come with server-side languages, JavaScript errors are dealt with inline.