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