Could you please check my code, Is this correct?
window.open('https://www.mywebsite.com','_blank','noreferrer noopener')
Could you please check my code, Is this correct?
window.open('https://www.mywebsite.com','_blank','noreferrer noopener')
No.
See MDN:
windowFeatures
A DOMString containing a comma-separated list of window features given with their corresponding values in the form "name=value". These features include options such as the window's default size and position, whether or not to include scroll bars, and so forth. There must be no whitespace in the string. See Window features below for documentation of each of the features that can be specified.
Your list is space-separated, not comma-separated.
Also:
noreferrer
If this feature is set, the request to load the content located at the specified URL will be loaded with the request's referrer set to noreferrer; this prevents the request from sending the URL of the page that initiated the request to the server where the request is sent. In addition, setting this feature also automatically sets noopener. See rel="noreferrer" for additional details and compatibility information. Firefox introduced support for noreferrer in Firefox 68.