Hey there, I'm facing a little issue. Can someone remind me how to correctly use the /*
in JavaScript when dealing with URLs?
For instance:
if(URL == "www.thing.com/"){}
I can't quite remember where to insert the /*
so that it applies not just to "www.thing.com"
but also to anything that follows, like "www.thing.com/questions/..."
.
Is it as simple as using "www.thing.com/*"
?