日常英语---200412(generator)
日常英语---200412(generator)
一、总结
一句话总结:
generator:英 /ˈdʒenəreɪtə(r)/ :n. 发电机;发生器;生产者
ES6实现异步的Generator函数
1、ES6实现异步的Generator函数的yield操作?
yield:英 /jiːld/:v. 屈服;放弃;停止争论;
2、Please select PHP Interpreter to load PHPUnit version?
interpreter:英 /ɪnˈtɜːprətə(r)/:n. 解释者;口译者;注释器
3、Uncaught TypeError: Assignment to constant variable.?
assignment:英 /əˈsaɪnmənt/:n. 分配;任务;作业;功课
4、几率:比如获得奖励的10%的几率?
odds:英 /ɒdz/ :n. 几率;胜算;不平等;差别
5、How can you improve your odds of success?
odds:英 /ɒdz/ :n. 几率;胜算;不平等;差别
如何才能提高你成功的几率呢?
6、获取评论的修饰?
decoration:英 /ˌdekəˈreɪʃn/:n. 装饰,装潢;装饰品;奖章
7、mdn中关于箭头函数this的说明:An arrow function does not have its own this. The this value of the enclosing lexical scope is used; arrow functions follow the normal variable lookup rules.?
enclose:英 /ɪnˈkləʊz/ :vt. 围绕;装入;放入封套
lexical:英 /ˈleksɪkl/ :adj. 词汇的;[语] 词典的;词典编纂的
箭头函数没有自己的this值,箭头函数中所使用的this都是来自函数作用域链,它的取值遵循普通普通变量一样的规则,在函数作用域链中一层一层往上找。
8、js中的[native code](比如Array.from()):An implementation-dependent representation of the function is returned.?
implementation:英 /ˌɪmplɪmenˈteɪʃn/ :n. [计] 实现;履行;安装启用
dependent:英 /dɪˈpendənt/:adj. 依靠的;从属的;取决于…的
二、内容在总结中
博客对应课程的视频位置: