Which is the function in JavaScript that will print the current page in JavaScript?
A
print()
B
printcurrent()
C
print(now)
D
print(this)
Correct Answer: print()
The print() method prints the contents of the current window. The print() method opens the Print Dialog Box, which lets the user to select preferred printing options.