Q51
___________ is used to test whether geolocation is supported in old browsers.
A.
Modernizr
B.
Modernizr.geolocation
C.
Navigator.userAgent
AnswerD.
Modernizr.js
Answer: Option C
Solution
Answer: Option C
Solution:
Since Modernizr is a JavaScript object with methods, we can use Modernizr.geolocation to test whether geolocation is supported.