When i tried to check for a string pattern using endsWith in node server versioned v0.10.25, it threw an error,
Object ''''''' has no method 'endsWith'
Then i found out from this link, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith, that String.prototype.endsWith will come only from ECMA6. So, what ecma version node v0.10.25 has implemented? which future release of nodejs, i can expect to be ECMA6 compliant?