问:什么情况下 “a === a-1” 等式成立?
七娃博客
23 次
当a等于正无穷或负无穷时,等式成立!有点想数学题
let a = Infinity; // -Infinity console.log(a === a-1); //true
评论 | 0 条评论