If you put it in parenthesis the compiler will treat it as an object literal not a code block: array.map(val => ({ key1: val.key1, ...
確定! 回上一頁