tc39 / proposal-array-from-async

Draft specification for a proposed Array.fromAsync method in JavaScript.
http://tc39.es/proposal-array-from-async/
BSD 3-Clause "New" or "Revised" License
177 stars 13 forks source link

Unscopables? #34

Closed mgaudet closed 1 year ago

mgaudet commented 1 year ago

Other recent proposals adding methods to Array.prototype have added the name to Array.prototype[@@unscopables] -- I sort of imagine fromAsync should get added too.

ljharb commented 1 year ago

This isn't being added to Array.prototype - it's being added to Array itself, so there's no need for unscopables.

mgaudet commented 1 year ago

Right! Thanks!