But this was fixed with strict mode; this is like criticising Java for not having generics, even though generics were added ages ago.
You can still assign/use global variables in the browser, but like the parent says, this is the browser's fault - having to accept old and badly-written code for compatibility reasons.