📜  function() - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:46.943000             🧑  作者: Mango

代码示例2
A function in JavaScript is similar to a procedure—a set of statements that performs a task or calculates a value, but for a procedure to qualify as a function, it should take some input and return an output where there is some obvious relationship between the input and the output.