Select from following answers:- document.write("Hello World");

- echo "Hello World";
- response.write("Hello World");
- ("Hello World");
- All Above
document.write("Hello World") is the correct syntax to write any thing inside Javascript Function.
Basically document.write is same as Console.Write in Windows or Response.Write in Web Application in Dot Net.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator