sixth interview

作者: 林不羁吖 | 来源:发表于2020-05-22 22:16 被阅读0次

1.js数据类型

1.1 null和undefined的区别

null表示没有对象,即该处不应该有值

1) 作为函数的参数,表示该函数的参数不是对象

2) 作为对象原型链的终点

undefined表示缺少值,即此处应该有值,但没有定义

1)定义了形参,没有传实参,显示undefined

2)对象属性名不存在时,显示undefined

3)函数没有写返回值,即没有写return,拿到的是undefined

4)写了return,但没有赋值,拿到的是undefined

null和undefined转换成number数据类型

1.1.1 他们转化为数值的结果

0 NaN

2.防抖和节流函数的原理

3.属性简洁表达式

4.同步和异步的区别

5.引用类型怎么存储的

6.vuex怎么用的

6.1 vuex中的辅助(工具)函数

mapState
mapGetters:将store中的getter映射到局部计算属性
mapMutations:使用mapMutations辅助函数将组件中的methods映射为store.commit调用。
mapAction:使用mapActions辅助函数将组件的methods映射成store.dispatch调用

7.diff算法原理

8.双向绑定的原理

9.在项目中封装的最印象深刻的组件,用了哪些方法

10.优化长列表,虚拟列表

https://www.cnblogs.com/imwtr/p/10428819.html
https://blog.csdn.net/QQ729533020/article/details/99740494?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase
https://blog.csdn.net/superermiao/article/details/105426843?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-2
https://blog.csdn.net/qq_37818095/article/details/102954854?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-2

11.v-if和v-for的区别

12.computed和watch的区别

相关文章

  • sixth interview

    1.js数据类型 1.1 null和undefined的区别 null表示没有对象,即该处不应该有值 1) 作为函...

  • 转载:app

    Welcome to the sixth iteration of the open source iPhone*...

  • The sixth

    Haw escaped from their bad situation and moved in a new d...

  • the sixth

    突然以前一同学驾照的同学打来电话 加微信,马上就翻我朋友圈 自己的却设了权限,理由自己没动态 。。。 然后就打听是...

  • Sixth

    工作的时候偶然看到了这段,比起我们目睹父母的离去,白发人送黑发人反而更容易让人感伤吧。 希望我爱的人们,都能幸福安康。

  • Sixth

    2017.6.14

  • Sixth

    今天是坚持运动和日更的第六天。虽然假期之前就已经做好了计划,但假期中仍然没能高效的完成。班长打来电话,不知...

  • Sixth

    时光荏苒,路还很长~

  • I. a sense of doom:animal instin

    Reports of animals' "sixth sense" in detecting hurricanes...

  • In America(6)

    The sixth day in America———Memphis and Nashville I spend ...

网友评论

    本文标题:sixth interview

    本文链接:https://www.haomeiwen.com/subject/myqhahtx.html