nl_tokens: Strips the trailing slashes from a string .
pl_tokens: function withoutTrailingSlash ( s ) { if ( ! IS_BROWSER && HAS_OS && require ( 'os' ) . platform === 'win32' ) return s . <mask> ( / \\+$ / , '' ) ; return s . replace ( / \/+$ / , '' ) ; }