2020-02-05までは、baseにしているJavaScriptのバージョンは 1.6 でしたが
アップデートがあって、アロー関数なども使えるようになった。
Release Notes
https://developers.google.com/apps-script/releases#february_5_2020
Built-in Google Services からの 引用
Modern JavaScript features
Apps Script supports two JavaScript runtimes: the modern V8 runtime and an older one powered by Mozilla's Rhino JavaScript interpreter.
The V8 runtime supports modern ECMAScript syntax and features. The Rhino runtime is based on the older JavaScript 1.6 standard, plus a few features from 1.7 and 1.8. You can freely choose which runtime to use with your script, but the V8 runtime is strongly recommended.