powered by
This function finds the screen resolution of the current device. It should work on Windows, macOS, and Linux systems.
screenRes()
A list with two elements: `width` and `height`, which are the width and height of the screen in pixels.
Run the code above in your browser using DataLab