专题文章
时长:00:00更新时间:2020-11-27 19:26:00
1、isStatic: 检测数据是不是除了symbol外的原始数据。function isStatic(value) {return (typeof value === ';string';||typeof value === ';number';||typeof value === ';boolean';||typeof value === ';undefined';||value === null)}。2、isPrimitive:检测数据是不是原始数据。
查看详情