Skip to content

Map on Safari throws error when constructor is passed arguments #1650

Closed
@benhughes

Description

@benhughes

After compiling the following with Traceur (using es6ify):

var some var = new Map([
      ['key', 'data']
])

Safari throws

[Error] TypeError: Map constructor does not accept arguments

I see from http://kangax.github.io/compat-table/es6/ that Safari does not support this feature of ES6. Are there any plans to polyfill it in Safari?

Traceur version: 0.0.79
Safari version: 8.0.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions