📜  如何在 JavaScript 代码示例中调用函数

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

代码示例5
// Create a function (you decide the name) that logs out the number 42 
// to the console

// Call/invoke the function

 function number(){
     console.log(42)
 }
 
 number()
//result = 42