The documentation says that the old runtime is based on Mozilla’s Rhino JavaScript interpreter which provides a subset of ECMAScript 5 and is based on 1.6, with a smattering of 1.7 and 1.8.
The new Apps Script runtime is supported by the V8 runtime with few exceptions like E6 Modules.