js类型判断共1篇
js如何实现类型判断-uusu优素-乐高,模型,3d打印,编程

js如何实现类型判断

1、判断引用类型和基本类型的类型是不同的,判断基本类型可以用typeof: typeof1//'number' typeof'1'//'string' typeofundefined//'undefined' typeoftrue//&...
hzh932的头像-uusu优素-乐高,模型,3d打印,编程hzh9321年前
0439