([a, b] = [10, 20]) => a + b; // result is 30 ({ a, b } = { a: 10, ... As a consequence, arrow functions cannot be used as generators.
確定! 回上一頁