It's more accurate to say that ECMAScript is a subset of JavaScript than to say that JavaScript is a subset of ECMAScript