Is there a complete definition of the Google App Script Syntax somewhere?

后端 未结 2 934
囚心锁ツ
囚心锁ツ 2020-11-30 13:56

I can\'t find a complete syntax spec on the developer pages. I\'m really wondering if there\'s an extended for loop ...

https://developers.google.com/apps-script/

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-30 14:41

    The GAS is not a precise version of JavaScript. It supports many features of JavaScript 1.8.5 like Object.keys, Object.isExtensible, etc. but on the other hand it does not support the keywords yield and let introduced in JavaScript 1.7. Another features which the GAS supports are the native JSON class and String.trim function introduced in JavaScript 1.8.1. Also the GAS supports the E4X extension.

    The GAS documentation is not complete now and many features are discoverable experimentally.

提交回复
热议问题