I have this code snippet in a slider script:
var shareURLParts = val.split(/\\?|\\&/g), shareURLString = \'\';
How wo