nl_tokens: Returns whether or not the given URLs are equal .
pl_tokens: function areEqual ( urlA , urlB ) { // Make sure we are comparing URLs without query arguments and hashes. urlA = removeQueryArgs ( removeHash ( urlA ) ) ; urlB = removeQueryArgs ( removeHash ( urlB ) ) ; <mask> addTrailingSlash ( urlA ) === addTrailingSlash ( urlB ) ; }