How you will write a java script function that display an alert on the screen?



How you will write a java script function that display an alert on the screen?..

Answer / hilmionell

alert("Hello my friend");

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What is the output of below code var car = new Vehicle("Honda", "white", "2010", "UK"); console.log(car); function Vehicle(model, color, year, country) { this.model = model; this.color = color; this.year = year; this.country = country; }

1 Answers  


Can we create buttons in JavaScript ? if yes how? pls provide sample code... Thanks in advance.....

1 Answers   HCL,


Why typeof null is object?

0 Answers  


What are arrays in javascript?

0 Answers  


What are the data types supported by javascript?

0 Answers  


Explain higher-order functions in javascript?

0 Answers  


Is it possible to assign a php variable to javascript ? And also is it possible to fetch the page contents if the url is not under our control ?

1 Answers  


What are the properties of stack?

0 Answers  


How many types of javascript are there?

0 Answers  


Why global variables are bad javascript?

0 Answers  


what is function of stdio.h

0 Answers   TCS,


What is local and global scope?

0 Answers  


Categories