【发布时间】:2014-09-08 10:56:37
【问题描述】:
我以为我的问题会得到 this 或 this 的回答,但我想要的都不是。
我在 Google Script 中有一个对象,并且想要遍历每个元素:
var dict = {
"foo": "a",
"bar": "b"
};
for each key, element in dict{
print the key and the element
}
这可能吗?
【问题讨论】:
标签: javascript google-apps-script