Window Window Object
Last updated: 2026-09-09
Window Window Object
Window is the browser global object.
| Category | Browser (BOM) |
|---|---|
| ES version | ES1 |
📝 Syntax
window.innerWidth;
▶ Example
Edit the code, press Run, and see the result in the output panel:
Output:
1440
900
💡 Tip Window properties accessible without prefix.
ℹ️ info resize event for responsive JS.
🏷️ Related Items
💡 Related Cases
More case studies coming soon — check back later.
📚 Related Tutorials
❓ FAQ
QIs window the global object?
AYes in browsers.
QinnerWidth vs screen.width?
AinnerWidth is browser; screen is display.
QWhat is load?
AFires after all resources load.