How would I go about writing this if statement
in javascript?
if(url == "http://www.google.com/" && "*")
{ ... }
The *
needs to be flexible and accept anything added onto the first variable... If no value is assigned to *
, the condition must still be true...