Ehem, #JavaScript also uses the backslash as a separator in the URL.pathname, like '/'. Firefox dev console, but node is similar:

% let a = new URL("http://localhost/abc\\def")
> undefined
% a.pathname
> "/abc/def"

Can anyone point to a spec where this is described?

#mdn #whatwg