📜  函数表达式和函数声明 - Javascript 代码示例

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

代码示例2
const mul = function(x, y){
    return x * y;
}; //semicolon needs to be there as it is expression

console.log(mul(10, 20));