Closed Bug 1232303 Opened 9 years ago Closed 9 years ago

Symbol.unscopables behavior inconsistent with other major browsers

Categories

(Core :: JavaScript Engine, defect)

45 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1054759

People

(Reporter: tjsail33, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36

Steps to reproduce:

https://github.com/paulmillr/es6-shim/issues/384

https://jsfiddle.net/dfqve80a/3/


Actual results:

Received a Symbol.iterator function


Expected results:

Received an Array
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Seems like this is simply an artifact of us not implementing Symbol.unscopables. Pretty surprising that this is already expected to work correctly.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.