window.open("#a") window.open("#a"); window.open("/#a"); window.open('#b') window.open('#b'); window.open('/#b'); window.open('#c') window.open('#c'); window.open('/#c'); window.open( '#d' ) window.open( '#d' ); window.open( '/#d' ); window.open( '#d' ) window.open( '#d' ); window.open( '/#d' ); window.open("#a", "_blank"); window.open("#a", "_blank", "popup"); window .open('#e') window .open('#e'); window .open('/#e'); window .open( '#f') window .open( '#f'); window .open( '/#f'); window.open( "#a", "_blank", "popup" ); window.open('/path/#g') window.open('path/#g') window.open('https://www.rust-lang.org/#foo') window.open('http://www.rust-lang.org/#foo') window.open(foo) window.open( bar ) window.open( foo.bar ) window.open() window.open("") window.open('') window.open("", "_blank");