The DOMPoint interface's w property holds the point's perspective value, w, for a point in space.
DOMPoint
w
MDN Reference