Logo

Javascript Questions Set 180:

Quiz Mode

 Which is not the location object method? 

1
2
3
4

Solution:

Which jQuery method operates on the return value of $()?

1
2
3
4

Solution:

  The scope of a function is also called as _______ 

1
2
3
4

Solution:

The expression used to call (or execute) a function or method in JavaScript is called

1
2
3
4

Solution:

In JavaScript, the variable declared outside the function is _____ and the variable declared inside the function is ______.

1
2
3
4

Solution:

Which of the following does JSON.stringify() not serialize?

1
2
3
4

Solution:

Why does the '$' is not defined error occur?

1
2
3
4

Solution:

What is the purpose of the forward() method?

1
2
3
4

Solution:

What will be the output of the following code?

const open = ["s1","s2","s3","s4","s5"]

open.forEach(events => { if(events === "s4"){ console.log("finally found an event");}else{}})

1
2
3
4

Solution:

What is the corresponding ES6 code for the given function?

1
2
3
4

Solution: