get browser timezone javascript

JavaScript
Intl.DateTimeFormat().resolvedOptions().timeZone
Source

Also in JavaScript: