pandaomeng / gitalk-comment

使用gitalk存储博客的评论
0 stars 0 forks source link

前端面试题总结 | 无趣的小帕 #46

Open pandaomeng opened 5 years ago

pandaomeng commented 5 years ago

https://www.pandaomeng.com/2019/04-05-front-learning/

前端面试题总结JS基础知识点及常考面试题(一)原始类型(Primitive) 原始类型共6种: undefined null boolean string number symbol 原始类型没有函数可以调用,但是在必要的情况下会进行强转为对象类型。 number为浮点类型,0.1 + 0.2 !== 0.3 string 类型是不可变的,无论在string类型上调用何种方法