卫星轨道TS 判断6种数据类型function getType (obj : any ) { const type = typeof obj ; if (type == "string" && new Date (obj ).toString () !== 'Invalid Date') { return 'Date'; } // 可以通过String ⽅法,判断某个对象之属于哪种内置类型。 "[object Null]" return Object .prototype .toString .call (obj ).replace (/^\[object (\S+)\]$/, '$1');}
新生儿洗澡温度
1
2
化妆品市场分析3
4
5
高瞻远瞩近义词6
7
8String Date Number Boolean Array Object 1
拍球教案个人辞职申请书
2
曹禺代表作
3
4
5
归去来兮辞教案6