- 博客(4)
- 收藏
- 关注
原创 文件上传
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title></head><body> <input type
2018-09-05 21:20:49 159
原创 图片懒加载
<!DOCTYPE html><html><head> <script src="http://apps.bdimg.com/libs/jquery/1.9.1/jquery.js"></script> <title>懒加载</title> <meta cha
2018-06-13 15:46:51 112
原创 JavaScript 函数调用方式及this指向
函数调用方式 1 普通函数调用 this指向window function fn(){ console.log(this); } fn(); 2 方法调用 this指向调用该方法的对象 var obj = { fn:function(){ console.log(this); } } obj.fn(); 3 作为...
2018-05-23 21:41:09 165
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人