This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24141 - Consider the interaction of ArrayClass and concat()
Summary: Consider the interaction of ArrayClass and concat()
Status: RESOLVED WONTFIX
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-19 14:25 UTC by Ms2ger
Modified: 2016-10-22 16:44 UTC (History)
4 users (show)

See Also:


Attachments

Description Ms2ger 2013-12-19 14:25:21 UTC
With ArrayClass,

  var x = document.querySelectorAll("*");
  var y = x.concat();

leads to y ≡ [x]. It seems like ES6 @@isConcatSpreadable can fix that.
Comment 1 Jonas Sicking (Not reading bugmail) 2013-12-19 19:10:43 UTC
Let's just do what's proposed in bug 23682 and get rid of ArrayClass
Comment 2 Domenic Denicola 2016-10-22 16:44:04 UTC
Since it seems like ArrayClass is legacy, let's not do this.