--- title: Window.screenX slug: Web/API/Window/screenX translation_of: Web/API/Window/screenX ---
返回浏览器左边界到操作系统桌面左边界的水平距离。
lLoc = window.screenX
lLoc
{{dom0}}