Hoisting, let and gimmicks
31 / 07 / 2016
Let’s jump straight into the code.
When it comes to debugging in web browser developers almost always think of the JavaScript, console.logs and breakpoints. That’s pretty straightforward, unlike trying to figure out what went wrong in a complex layout.
Most of the developers know that you can stop the execution of a script by either placing debugger;
in the code or clicking on a specific line in a browser’s debug tool. That’s just a tip of the debugging iceberg.