How can I detect what version of JavaScript the browser supports (if any)? I want to check for ECMAScript 3 versus ECMAScript 5 versus ECMAScript 6.
Note: I want to
This pops out an alert box with the javascript version being used by your browser:
Related jsfiddle.net