JS
(why it makes no sense!)
1) ECMASCRIPT ECMA International handles recommended standards for Javascript - ECMAScript 1st Edition (EC1), ECMAScript 2nd Edition (EC2), etc...
2) JAVASCRIPT ENGINES Every company has its own JS engine and version - Mozilla Spidermonkey, Safari JavaScriptCore, Chrome V8, etc...
3) DEFUNCT JS VERSION Obsolete JS versions from Netscape and MS JScript.
1) There is no way to determine the "JS version" reliably.
2) Which version? ECMA, browser engine, defunct version?
3) Not indicative of anything - Features are different across various JS engines.
4) Version check pretty much serves no purpose in applications.
Don't do version checks, check if the required feature is available instead.
For example, check if the Geolocation API is available if using GPS for project.