Suppose I have an variable assign to an "video" tag, how can I check if this variable is refer to the object of "HTMLVideoElement"
var video = document.getElementById('video')
if (video != object HTMLUnknownElement) {
//some code here
}
What is the code to replace with object HTMLUnknownElement above?
Thanks