赋值时函数提升的是var,函数并没有提升
fn(); //fn is not a function // console.log(fn) //undefined var fn=function(){ console.log(3) }; fn()
执行过程如下
var fn; fn(); //fn is not a function ;fn=function(){ console.log(3) }; fn()
上一篇URL常见协议
下一篇几个不错的网站状态报告开源系统
苹果iphone如何开启青少年模式
微信青少年模式怎么关闭
Web CSS
网页播放摄像头视频 一种新的实现方式(非ocx方式)
学习js和jQuery总结
Web HTML
Flask简单http接口实现
PHP文件基础操作