タグ

ブックマーク / 2ality.com (1)

  • ES2018: Rest/Spread Properties

    Update 2018-01-25: This proposal has reached stage 4 and will be part of ECMAScript 2018. The ECMAScript proposal “Rest/Spread Properties” by Sebastian Markbåge enables: The rest operator (...) in object destructuring. At the moment, this operator only works for Array destructuring and in parameter definitions. The spread operator (...) in object literals. At the moment, this operator only works i

    seihmd
    seihmd 2018/02/17
    これは理解しておかないとハマりそう
  • 1