📜  如何在 javascript 代码示例中添加函数

📅  最后修改于: 2022-03-11 15:03:21.488000             🧑  作者: Mango

代码示例1
//this is an example of a function including an alert
function example() {
  alert("This is a alert");
}
example();