Definition: The scrollX property identifies the distance in pixels that the document has already been scrolled horizontally. This is not a reserved word so you can declare your own variable or function called scrollX but if you do then you will not be able to use this property.
Examples:
var sX = window.scrollX;

