hughsk / flat

:steam_locomotive: Flatten/unflatten nested Javascript objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arrow function breaks in IE.

bkbartonDesign opened this issue · comments

A single arrow function is breaking functionality in < IE11.

target = Object.keys(target).reduce((result, key) =>

I am using this module in the browser for a angular/typescript app.

IE11 supports Object.keys. https://caniuse.com/#feat=es5

The issue, as stated in @bkbartonDesign 's description, is the arrow function.

Got the same issue, had to downgrade to 4.1.0 for resolving this.
If you guys approve pr with fix for this #92 that would be great

We no longer provide support for Internet Explorer, and neither does Microsoft at this point.