# Submission title for versions of JavaScript, regarding normalization for leaderboard scripts

I've seen a few variations of submissions specifying the ECMAScript version of JavaScript, and this creates problems for leaderboard scripts since they end up being treated as different languages under the "by language" category.

Namely, for JavaScript ES5, I've seen:

ES6 and ES7:

# ES6/7

What should we title these submissions as, so that there's no more confusion for leaderboard scripts?

Specifying the ES standard seems like a good idea to keep these separate in the leaderboards. Of course, it becomes a problem if the same ES standard is specified in different formats. So without any reason in particular, just to create one standard I propose using one of

## JavaScript (ES6)

Depending on whether the answer works in all common ES versions or only in a specific one. Note that ES5 should also be specified if your answer works only in ES5 (I don't know how backwards-compatible ES6 is). The plain version with JavaScript should be reserved for "version polyglots".

Of course, I wouldn't expect everyone to have seen this post, but those who have could always edit nonconforming answers if they see them and put a link to this answer in the edit summary.

• I should probably clarify, when I said JavaScript ES6/7 I didn't mean it literally, but rather I was shortening it to mean either JavaScript ES6 or JavaScript ES7 are two forms that I've seen. Feb 14 '16 at 18:46
• @PatrickRoberts Oh right... I guess I'll remove that. Feb 14 '16 at 18:47
• Also, I am in complete agreement that we should keep versions different, I had no qualm with that, but like you, I agree that each version should have a normalized title. I'm sorry if I wasn't clear about that. Feb 14 '16 at 18:48
• @PatrickRoberts No, you were clear about that, but I wanted to address it in the answer for completeness anyway. Feb 14 '16 at 18:49
• I hope the day comes soon where the default for JavaScript would be ES6 and that you'd have to specify an ES5-only answer... Feb 14 '16 at 19:01
• @CᴏɴᴏʀO'Bʀɪᴇɴ I'll clarify this, but you should also specify an ES5-only answer right now. Plain JavaScript should only be used if it works in all common JS versions. Feb 14 '16 at 19:02
• Ah, I see. As in, "cross-browser"? Feb 14 '16 at 19:02
• @CᴏɴᴏʀO'Bʀɪᴇɴ As in cross-version (which at the moment is probably the same thing). Feb 14 '16 at 19:03
• Thanks for the clarification! Feb 14 '16 at 19:04
• JS should be done the same way as Python - specify the version unless it works with both 2 and 3.
– user45941
Feb 14 '16 at 21:36