Message Box

This message box shows “Hello, Google!”.

Source Code

Here is source code;

function myFunction() {
  Browser.msgBox("Hello, Google!");
}

Here is refactored source code;

function myFunction() {
  var msg = "Hello, Google!";
  Browser.msgBox(msg);
}

Format

Browser.msgBox(text)

Parameters

text … Viewed text on a message box.

Note

It is unable to use in Google Sites.

Leave a Comment