Which of the following is added to prefs.js when the console is automatically opened during JavaScript error?
A. user_pref("javascript.console.open_on_error", true);
B. user_pref("javascript.console.open_error ", true);
C. user_pref("javascript.console.open_error ", false);
D. user_pref(" javascript.console.open_on_error", false);
Answer: Option A
Solution(By Examveda Team)
is added to prefs.js when the console is automatically opened during JavaScript error.Related Questions on Caching and Debugging
What does the interpreter do when you reference variables in other scopes?
A. Traverses the queue
B. Traverses the stack
C. Finds the bugs
D. None of the mentioned
What will happen if you reference document.location from within an object?
A. Traverses the queue
B. Finds the bugs
C. Traverses the stack
D. None of the mentioned
Why do we need to create locally scoped variables to hold value?
A. To optimize the testing process
B. To increase the speed
C. To minimize memory usage
D. To cache the reference document.location
Join The Discussion