Which is the function in JavaScript that will print the current page in JavaScript?
(a) print()
(b) printcurrent()
(c) print(now)
(d) print(this)
(a) print()
(b) printcurrent()
(c) print(now)
(d) print(this)
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The correct answer is (a) print()
For explanation: 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.