Skip to content

Commit 717c9eb

Browse files
location protocol in js
1 parent 6bfaec4 commit 717c9eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Basic Introduction/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
console.log(location.href);
1515
console.log(location.pathname);
1616
console.log(location.port);
17+
console.log(location.protocol);
1718

1819
</script>
1920
</body>

0 commit comments

Comments
 (0)