📜  javascript代码示例中的箭头函数形式

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

代码示例1
params => ({foo: "a"}) // returning the object {foo: "a"}

// To return an object literal expression requires parentheses around expression: