![]() |
VOOZH | about |
The HTML Window length property is used for returning the number of <iframe> elements in the current window. It is a read-only property and it returns a number that represents the number of frames in the current window.
Syntax:
window.length
Return Value: It returns a numeric value that represents the number of frames in the current window
The below program illustrates the Window length Property:
Example: Returning the number of <iframe> elements in the current window.
Output:
👁 ImageSupported Browsers: The browsers supported by Window length Property are listed below:
We have a Cheat Sheet on Javascript where we covered all the important topics of Javascript to check those please go through Javascript Cheat Sheet-A Basic guide to JavaScript.