📜  函数示例 - Javascript 代码示例

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

代码示例3
// Define a function that prints a stringfunction welcomeMessage() {  console.log('Welcome to JavaScript');}// Call the functionwelcomeMessage();