LANG SELRCT

Apps Script Reference  (Create: Create new Spreadsheet | Create new Apps Script

Tuesday, March 27, 2018

Google Apps ScriptのJavaScriptのバージョン


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.


Latest post

Extracting data from Google Sheets with regular expressions

Introduction Regular expressions are a powerful tool that can be used to extract data from text.  In Google Sheets, regular expressions ca...