const areas = document.getElementsByTagName("area");
for (const area of areas) {
console.log("New area found.");
area.relList.forEach((relValue) => {
console.log(relValue);
});
}HTMLAreaElement: relList property / notebook
HTMLAreaElement: relList property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.