Michał Jezierski

Results 14 comments of Michał Jezierski

Hi @Pzenarch. I updated `Array.prototype.find` polyfill with the latest changes from MDN. Please try with this version: ``` npm install mdn-polyfills@canary ``` it's also available here https://cdn.jsdelivr.net/npm/[email protected]/Array.prototype.find.js Let me know...

Looks like this patch https://github.com/babel/minify/pull/917 would fix the issue.

ok, looks like all declarations should be hoisted somehow. I need to figure out how to do it ;)

@Cyp could you please take a look in a meanwhile?

With your last example it looks bad imho. `var i` should not be initialised with `1` and these redundant variable declarations should not happen.

@Cyp I believe I've covered your recent examples ;) Could you please take a look?

@Cyp `a1` seems to be fixed right now. `a2` and `a3` looks similar nevertheless it's not related to ifStatement. Anyway I'll try to look on it - maybe there's some...

I'll create a separate issue(s) for `a2` and `a3` cases. I think it's unrelated to IfStatement. I've got a fix already for `a2`, rather simple.

@boopathi please take a look. Should I change something or abandon it?