How to get user's COMPUTER NAME?

I want to get the user’s computer name, how can I get the user computer name?

With JSX i used to use something like $.getenv('computername'), is it something similar in UXP?

Thanks!