js判断变量是否为null通过Object.is()方法,可以准确判断变量是否为 nulllet a = nulllet b = {}let cObject.is(a, null) trueObject.is(b, null) falseObject.is(2023-03-06JavaScript170