Alertbox

From Esolang
Jump to navigation Jump to search

Alertbox is a joke esolang invented by User:None1.

There is only one command: a. It creates an alert box with "Hello, World!" in it.

Examples

GUI Hello World

a

Interpreter in JavaScript

function alertbox(x){
    for(let i of x){
         if(i=="a"){alert("Hello, World!")}
    }
}