navinn.hashnode.devHow to Use `console.error` for Debugging in JavaScriptAlways we have been using console.log but if your console.error under the catch block you can able to see the error in error mode in your developer console Instead of console.log(‘error’) Use console.error(‘error’) use this in your console to see...Aug 4, 2025·1 min read