Note: This feature is available in Web Workers
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The badge
property of the Notification
interface returns the URL of the image used to represent the notification when there is not enough space to display the notification itself.