More information here, here and here.
ECMAScript 4 is the next version of ECMAScript, of which both JavaScript and ActionScript are based upon.