const obj = document.createElement("video");
console.log(obj.currentSrc); // ""HTMLMediaElement: currentSrc property / notebook
HTMLMediaElement: currentSrc property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.