Google Apps脚本Javascript标准支持 [英] Google Apps Script Javascript Standard Support

查看:104
本文介绍了Google Apps脚本Javascript标准支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单的问题:任何人都可以指向某个资源,或者知道Google Apps脚本支持哪种标准的Javascript?



我自然认为ES5完全受支持,但是ES6(甚至7)呢?注意:我的意思是内置的代码编辑器,如果你打开一个电子表格(例如),它会出现,然后点击工具>脚本编辑器...

解决方案

根据文档 Apps脚本基于 JavaScript 1.6

该表格解释了与ES标准的相关性。


Simple question: Can anyone point to a resource or knows anything about which standard of Javascript is supported in Google Apps Script?

I assume naturally that ES5 is fully supported, but what about ES6 (and even 7)?

Note: I mean the built-in code editor, which will appear if you open a Spreadsheet (for example), and click Tools > Script editor...

解决方案

According to the docs Apps Script is based on JavaScript 1.6.

This table explains the correlation to the ES standards.

这篇关于Google Apps脚本Javascript标准支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆