As I was wondering about the multi-monitor/screen support of javascript i found the follwing stackexchange questions relevant for the topic:
Since Version 66 of Chrome it is possible to use the Presentation API There is a W3C Draft for it since 2019-04
The Example at
will work in Chrome 66+ and given an error message
ReferenceError: PresentationRequest is not defined (Your browser may not support this feature.)
for other browsers when clicking presentationRequest.start(). On Chrome 66+ a selection dialog appears
and after picking the desired screen is used in full screen mode.