Guys, does V8 still deoptimize on ES6 features? For example, would using say const/lets in a function prevent V8 from optimizing it as a whole? That was the case some time ago when these features were still under a flag.
Otherwise the fact that engines bailout on optimizing ES6 features was kind of common knowledge when engines started to implement them.