The angle read-only property of the ScreenOrientation interface returns the document's current orientation angle.
angle
MDN Reference