← Back to context

Comment by machine_ghost

15 hours ago

What I don't understand is why, after twenty years, we still haven't versioned Javascript. A simple:

'v2';

At the top of every file could let us eliminate all this 20-year old cruft (like document.all hacks to support Internet Explorer).

Yet, despite the already established `use strict`; (which is basically 'v1.5'), the community seems completely against modernizing the language.