So fügen Sie eine Funktion in JavaScript hinzu

//this is an example of a function including an alert
function example() {
  alert("This is a alert");
}
example();
Insert_Name_Here