The deltaZ property is a read-only property and it is used to return a positive value when scrolling in and a negative value when scrolling out else 0. However, most mouse devices do not have capability to scroll along z-aixs. Thus, the value will be 0.
Its syntax is:- event.deltaZ
Its return is:- double denoting scrolling direction of mouse wheel