From aae88046b6bcf4aa8ee7a180f4c971571ce7efa9 Mon Sep 17 00:00:00 2001 From: qianguyihao Date: Thu, 22 Mar 2018 11:54:37 +0800 Subject: [PATCH] modify --- .../07-call、apply、bind的区别.md | 10 +-- 03-JavaScript(二)/this.md | 12 +-- .../others => 18}/00-准备.md | 0 .../others => 18}/01-页面布局.md | 0 .../others => 18}/02-CSS盒模型及BFC.md | 0 .../others => 18}/03-DOM事件的总结.md | 0 .../others => 18}/04-HTTP协议.md | 0 .../others => 18}/05-01.创建对象和原型链.md | 0 .../05-02.面向对象:类的定义和继承的几种方式.md | 0 .../others => 18}/06-跨域通信类.md | 0 .../others => 18}/07-安全问题:CSRF和XSS.md | 0 .../others => 18}/08-算法问题.md | 0 .../others => 18}/09-01.浏览器渲染机制.md | 0 .../others => 18}/09-02.js运行机制:异步和单线程.md | 0 .../others => 18}/10-01.页面性能优化.md | 0 .../others => 18}/10-02.前端错误监控.md | 0 .../others => 18}/11-00.JavaScript高级面试:前言.md | 0 .../others => 18}/11-01.ES6:模块化的使用和编译环境.md | 0 .../others => 18}/11-02.ES6.md | 0 .../others => 18}/15-虚拟DOM.md | 0 .../others => 18}/16-01.MVVM.md | 0 .../others => 18}/21-面试题整理 by smyhvae.md | 0 .../others => 18}/22-网友面经.md | 0 .../others => 18}/23-面试技巧 by smyhvae.md | 0 .../others => 18}/web安全.md | 0 .../others => 18}/其他.md | 0 .../others => 18}/推荐文章.md | 0 .../others => 18}/计算机网络.md | 0 19-基础/01-常见.md | 74 +++++++++++++++++++ 19-基础/02-this相关.md | 5 ++ .../01-变量提升.md => 19-基础/02-变量提升.md | 0 19-基础/异步.md | 22 ++++++ {20-题目 => 19-基础}/清单.md | 0 .../20180116-博客园:一年经验初探阿里巴巴前端社招.md | 0 {20-题目/网友面经 => 20-网友}/面经链接推荐.md | 0 20-题目/链接推荐.md | 18 ----- 21-Vue基础/01-Vue基础语法:系统指令.md | 6 +- 推荐链接.md | 15 ++++ 38 files changed, 129 insertions(+), 33 deletions(-) rename {04-前端基本功:CSS和DOM练习/others => 18}/00-准备.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/01-页面布局.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/02-CSS盒模型及BFC.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/03-DOM事件的总结.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/04-HTTP协议.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/05-01.创建对象和原型链.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/05-02.面向对象:类的定义和继承的几种方式.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/06-跨域通信类.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/07-安全问题:CSRF和XSS.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/08-算法问题.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/09-01.浏览器渲染机制.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/09-02.js运行机制:异步和单线程.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/10-01.页面性能优化.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/10-02.前端错误监控.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/11-00.JavaScript高级面试:前言.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/11-01.ES6:模块化的使用和编译环境.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/11-02.ES6.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/15-虚拟DOM.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/16-01.MVVM.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/21-面试题整理 by smyhvae.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/22-网友面经.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/23-面试技巧 by smyhvae.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/web安全.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/其他.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/推荐文章.md (100%) rename {04-前端基本功:CSS和DOM练习/others => 18}/计算机网络.md (100%) create mode 100644 19-基础/01-常见.md create mode 100644 19-基础/02-this相关.md rename 20-题目/01-变量提升.md => 19-基础/02-变量提升.md (100%) create mode 100644 19-基础/异步.md rename {20-题目 => 19-基础}/清单.md (100%) rename {20-题目/网友面经 => 20-网友}/20180116-博客园:一年经验初探阿里巴巴前端社招.md (100%) rename {20-题目/网友面经 => 20-网友}/面经链接推荐.md (100%) delete mode 100644 20-题目/链接推荐.md diff --git a/03-JavaScript(二)/07-call、apply、bind的区别.md b/03-JavaScript(二)/07-call、apply、bind的区别.md index af88ed7..cb76f98 100644 --- a/03-JavaScript(二)/07-call、apply、bind的区别.md +++ b/03-JavaScript(二)/07-call、apply、bind的区别.md @@ -14,19 +14,15 @@ 当函数调用call()和apply()时,函数都会立即**执行**。 -- 都是用来改变函数的this对象的指向的。 +- 都可以用来改变函数的this对象的指向。 -- 第一个参数都是this要指向的对象(函数执行时,this将指向这个对象)。 - -- 都可以利用后续参数传实参。 +- 第一个参数都是this要指向的对象(函数执行时,this将指向这个对象),后续参数传实参。 **call()和apply()的区别:** -- call()方法可以将实参在对象之后依次传递。 - -- apply()方法需要将实参封装到一个**数组**中统一传递。 +call()和apply()方法都可以将实参在对象之后依次传递,但是apply()方法需要将实参封装到一个**数组**中统一传递。 比如针对下面这样的代码: diff --git a/03-JavaScript(二)/this.md b/03-JavaScript(二)/this.md index 6ff260d..37293aa 100644 --- a/03-JavaScript(二)/this.md +++ b/03-JavaScript(二)/this.md @@ -34,7 +34,7 @@