This property will return an array-like object that contains all the direct `iframe` elements in the current HTML document.
To access each element in this array like object, we can use the same syntax that we used for arrays!
For example, this is the way to get the first element of such an object (let’s say the name of the object is “frames”):
This is the same as if we’ve used the “getElementsByTagName()” method.
Window frames Property Syntax: