I want to do he following, but it does not work:
if(pathname == \'/ik/services/\' || \'/ik/recruitment/\'){ //run function }
It is compl
Try this:
if((pathname == '/ik/services/') || (pathname == '/ik/recruitment/')){ //run function }