Formulir Fungsi Panah dalam JavaScript

params => ({foo: "a"}) // returning the object {foo: "a"}

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