Simply highlighting where an error occurs rarely is enough to be able to write qualitative and correct code. Sometimes no error is thrown, yet the results rendered on the screen are wrong or inaccurate. To better understand how your JavaScript code is executed, there's a very useful and helpful technique for debugging which is supported by Google Chrome's DevTool.