Vidyalelo
JavaScript · Q15

Parsing, Benchmarking And Logging

Programming · JavaScript · question 15

Q15

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

A.
print()
Answer
B.
printcurrent()
C.
print(now)
D.
print(this)

Answer: Option A

Solution

Answer: Option A
Solution:
The window.print() can be used to print the current page in JavaScript.