compat-table
compat-table copied to clipboard
Add test results for Google Apps Script
It would be nice to know which ES5 and ES6 features are usable in Google Apps Script. See https://developers.google.com/apps-script/ for details.
I, too, am interested in this. Is there any guide / documentation on adding new platforms?
Unfortunately we don't have any guide. New implementation should be added to environments.json
and after that test results should be added to data-es*.js
files. After that npm run build
should update related HTML files.
Are Apps Scripts work on top of V8?
Are Apps Scripts work on top of V8?
Highly unlikely. I believe it runs on some other, custom, non-standard engine. According to Google's documentation: Apps Script is based on JavaScript 1.6, plus a few features from 1.7 and 1.8.
Plus, there is no window or DOM.
@larvanitis It seems that the Google's documentaion was changed.
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.