Getting text Shadow properties

Hello,
i see there is a Shadow Class.

but im wondering how does one GET the text shadow property from a text layer via JavaScript. Im trying to find that information. thank you