let list = document.styleSheets;
for (let i = 0; i < list.length; i++) {
console.log(list.item(i));
}StyleSheetList: item() method / notebook
StyleSheetList: item() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.