Q: 12
A developer is asked to fix some bugs reported by users. To do that, the developer adds a breakpoint
for debugging.
01 function Car(maxSpeed, color) {
02 this.maxSpeed = maxSpeed;
03 this.color = color;
04 }
05 let carSpeed = document.getElementById('carSpeed');
06 debugger;
07 let fourWheels = new Car(carSpeed.value, 'red');
When the code execution stops at the breakpoint on line 06, which two types of information are
available in the browser console?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.