navigator.onLine doesn't update its value when I disconnect my wi-fi

后端 未结 0 1642
自闭症患者
自闭症患者 2021-01-16 07:49

This is the code that I\'m running in chrome\'s console(which doesn\'t do much):

while (navigator.onLine) {}
console.log(1)
    

The problem

相关标签:
回答
  • 消灭零回复
提交回复
热议问题