箭头函数不适用的场景
打赏作者

晨雨零稀

很厉害啊,佩服

jayin

不错,快点更新吧

jayin

怎么@JellyBool美女老师

Tonce

已经被小姐姐吸引住了

aaronlam

大家可以把视频速度降慢为0.5倍,小姐姐的声音好搞笑。

布顽童 回复 aaronlam

有一种慵懒的范儿。感冒的时候听,会很容易睡着的。

yinchuanjiang 回复 aaronlam

6666666666

George

希望多一些前端工具使用的教程,还有 Vue 组件开发的教程,类似 iView 或 Element UI 的那种

George 回复 Yawenina

恩,这个是使用层面上的,我在使用这些框架的时候,发下有很多地方不得不自定义,使得他符合自己的项目,比如Element 的 Table Safari 下会有多出来一条边。本想复制组件到 Components 目录下自定义以后再引用的,但是很多 pops 对于我来说没有那个业务场景,而且代码看起来很混乱。于是我又安装 iview,这个的元素尺寸又比较不协调,总之两者都有自己的长处。综上考虑就像自己撘一套类似的框架,但是无奈前端基础比较差,对于各种预加载的插件和模块打包了解的不是很深,以至于虽然自己用 Sketch 做出了 UI Kit 但是在使用 Vue 构架的时候感觉无从下手,所以希望大神能出一些类似的视频……

laraer

小姐姐 是ba ten 不是bu ten 啊 哈哈

Addison

知识点摘要:
An arrow function does not have its own this; the this value of the enclosing execution context is used.
Arrow functions do not have a prototype property.
(1)Arrow functions cannot be used as constructors and will throw an error when used with new.
(2) Since arrow functions do not have their own this, the methods call() or apply() can only pass in parameters. thisArg is ignored.
(3) Arrow functions do not have their own arguments object. Thus, arguments is simply a reference to the arguments of the enclosing scope.
(4) arrow functions cannot be used as generators.

详情查看: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions