Which pattern matches file names that end in .js?
/\.js$//^\.js//.js^//$\.js/
$ anchors to the end of the string and \. matches a literal dot..js?/\.js$//^\.js//.js^//$\.js/$ anchors to the end of the string and \. matches a literal dot.