Take the below code
console.log(navigator.geolocation == true);
As this is an object I believe it should be truthy, yet it always returns false
.
Why is this?
Take the below code
console.log(navigator.geolocation == true);
As this is an object I believe it should be truthy, yet it always returns false
.
Why is this?