class method document.viewport.getScrollOffsets
document.viewport.getScrollOffsets() → Array
Returns the viewport's horizontal and vertical scroll offsets.
Returns an array in the form of [leftValue, topValue]. Also accessible
as properties: { left: leftValue, top: topValue }.