Right option is (a) getCurrentPosition()
The explanation is: For getting user’s position we used getCurrentPosition() method. Syntax is navigator.geolocation.getCurrentPosition(showPosition). It is supported by most of the browsers like Chrome, Firefox, Internet Explorer, Opera etc.