Javascript function definition/call difference between browsers

This question already has an answer here:

  • Javascript function cannot be found 5 answers

  • Firefox does not hoist function declarations outside of for blocks either. ECMA standard says it's okay. The documentation you linked to is not applicable only to if blocks, but for blocks as well.

    链接地址: http://www.djcxy.com/p/96280.html

    上一篇: AngularJS范围错误? 铬(43)和火狐(38.0.5)

    下一篇: Javascript功能定义/浏览器之间的通话区别