FastFoodCoding

Login


Connect with one of the following accounts





Login

Please wait while we redirect...

Views: 94   



Following program shows you how to scan name of user and say hello with name
In this program we get name from user using prompt method and prints hello with that name using console.log()

var name = prompt("Please enter your name:");
console.log("Hello " + name);

Output:

Hello tom



On By


Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News