function onFulfilled(bookmarks) {
console.log(bookmarks);
}
function onRejected(error) {
console.log(`An error: ${error}`);
}
let gettingBookmarks = browser.bookmarks.get("bookmarkAAAA");
gettingBookmarks.then(onFulfilled, onRejected);bookmarks.get() / notebook
bookmarks.get()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.