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