archives

« Bugzilla Issues Index

#3105 — Updates to spread and destructuring


- Destructuring does ToObject

eg.

// Should allow:
let [first, ...rest] = "foo";
first; // "f"
rest; // ["o", "o"]


fixed in Rev27 Editor's draft


fixed in rev27 draft