function gotAll(alarms) {
for (const alarm of alarms) {
console.log(alarm.name);
}
}
browser.alarms.getAll().then(gotAll);alarms.getAll() / notebook
alarms.getAll()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.