You are developing a website that helps users locate theaters in their area from a browser. You
created a function named findTheaters ().
The function must:
Get the current latitude and longitude of the user’s device
Pass the user’s location to findTheaters()
The user needs to access the geolocation information from the browser before searching for theaters.
Which code segment should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
the correct answer is C