I thought my object detection would work:
if (Notification!=undefined) {}
However my JavaScript log is still showing the following error:
Uncaught ReferenceError: Notification is not defined
How do I properly do object detection for the Notification
object?
No frameworks.