How open link in new Window?

Hi devs

I add a simple code line:
window.open(“https://youTube.com”, “blank”);

But the Window Open in:
https://playcanv.as/index/youtube.com
and si an error (obviusly)

Try:

window.open("https://youtube.com",'_blank');

Edit: @Luis_Mb, I think the problem, other than not having an underscore before blank, might be the quotes characters you used. The example you posted uses curly quotes instead of straight quotes.

https://typographyforlawyers.com/straight-and-curly-quotes.html