Thanks for the cool article! I'd point out some typos in the host example:
If we run the code, we can see that the first console.log statement logs '#hash'. Then we assigned the value 'example.com' to the url ‘s hash property.
There should be 'example.com' instead of '#hash', and 'newExample.com' instead of 'example.com'.
Thanks for the cool article! I'd point out some typos in the
host
example:There should be
'example.com'
instead of'#hash'
, and'newExample.com'
instead of'example.com'
.Thanks so much for reading and catching that.
I corrected it now. It should be
http://example.com/#newHash
It seems we are talking about different sections)). I meant the section describing this code snippet:
And the description below this snippet has typos mentioned in my previous comment.
Sorry. I missed that. I corrected it now.