Skip to content

More Babel fixes. Fix Arrow function variable hositing

Compare
Choose a tag to compare
@matAtWork matAtWork released this 08 Dec 16:54
· 249 commits to master since this release
  • Mark ArrowFunctionExpression containing a BlockStatement as having a scope (it does in Chrome 46) to constrain hoisting of variables declared inside Arrow Functions
  • Correct 'return undefined' suppression in object/class methods (as well as normal functions)
  • Numerous fixes to make Babel-style Object/ClassMethod play nicely with the ESTree Property & MethodDefinition (v2.3.1-2.3.3)