A developer is asked to fix some bugs reported by users. To do that, the developer adds a breakpoint for debugging.
Function Car (maxSpeed, color){
This.maxspeed =masSpeed;
This.color = color;
Let carSpeed = document.getElementById(` CarSpeed');
Debugger;
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 ?
Choose 2 answers:
- The values of the carSpeed and fourWheels variables
- A variable displaying the number of instances created for the Car Object.
- The style, event listeners and other attributes applied to the carSpeed DOM element
- The information stored in the window.localStorage property
Reveal Solution Next Question