JavaScript Window length
JavaScript Window length
The length property is used to return the number of window frames in the window. We can access each window by its index number. The first index starts from 0. It is a read-only property. We can define a frame as any embedding element like frame, iframe, embed, object, etc.
Syntax:-
Its syntax is:- window.length
Return:-
Its return is:- number of windows in the current window