const img = new Image();
img.fetchPriority = "high";
img.src = "img/logo.png";HTMLImageElement: fetchPriority property / notebook
HTMLImageElement: fetchPriority property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.