const notification = new Notification("To do list", {
body: text,
icon: img,
});Notification: icon property / notebook
Notification: icon property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.