For media queries there are a number of media features defined.
I'd like to read a browsers actual media features' values in JavaScript. How can I do this?
To be clear, I do not want to know whether some media queries match. I want to know, for example, the physical width of the screen. Something similar to this:
let width = window.getMediaValue("device-width", "cm");