Skip to content

Commit

Permalink
Merge branch 'main' into samesite_none_secure
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth authored Sep 16, 2024
2 parents fe7cc42 + abee83f commit 857667b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ Get all installed search engines:
```js
function retrieved(results) {
console.log(`There were: ${results.length} search engines retrieved.`);
const defaultEngine = results.find((searchEngine) => searchEngine.isDefault);
console.log(`The default search engine is ${defaultEngine.name}.`);
for (const searchEngine of results) {
console.log(JSON.stringify(searchEngine.name));
console.log(searchEngine.name);
}
}

Expand Down

0 comments on commit 857667b

Please sign in to comment.