javascript popup function

JavaScript
function alertSomethingOrPopUp()
{
  alert("Hi! This is a popup!");
}
alertSomethingOrPopUp();
Source

Also in JavaScript: