Window: length property
Value
A number.
Examples
js
if (window.length) {
// this is a document with subframes
}
Specifications
| Specification |
|---|
| HTML Standard # dom-length-dev |
Browser compatibility
BCD tables only load in the browser
A number.
js
if (window.length) {
// this is a document with subframes
}
| Specification |
|---|
| HTML Standard # dom-length-dev |
BCD tables only load in the browser