i think this is required in strict mode, but not in es6 as it assumes block scoping for function declarations. http://kangax.github.io/compat-table/es6/