You are developing a web application that can function when users are not connected to the Internet.
You need to check the Internet connectivity status of a user’s browser.
Which method should you use?

A.
Option A
B.
Option B
C.
Option C
D.
Option D
Answer should be D
Navigator.online
0
0
D is the correct answer
https://www.w3schools.com/jsref/prop_nav_online.asp
0
0