My Report

JavaScript Practice Test 8


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which is the function in JavaScript that will print the current page in JavaScript?

2. Which of the following JavaScript logging tool is also a debugging tool?

3. What is the significance of the JavaScript logging library log4javascript?

4. Where does the DNS Lookup direct to ?

5. Which of the following property gives access to the JavaScript memory usage data?

6. What is the purpose of the parameter $value?

7. When does JSNLog have server-side extensions?

8. What is the function of the memory object?

9. What will be the output of the following JavaScript code?

<p id="demo"></p>
<script>
function myFunction() 
{
   var str = "hello to \r world."; 
   var patt1 = /\t/;
   var result = str.search(patt1);
   document.getElementById("demo").innerHTML = result;
}
</script>

10. Which of the following is a read-only property?


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.