An exciting day for all us Apps Script devs: Google have finally replace the Rhino JS engine with the V8 used in Chrome and Node.js! So we can now use all those funky new features.
If there is not a new option under the script editor’s Run menu to enable V8, add the following to your manifest file:
“runTimeVersion”: “V8”