我以为我的问题会用这个或者这个回答,但我也不是要找的.
我在Google Script中有一个对象,并希望迭代每个元素:
var dict = { "foo": "a", "bar": "b" }; for each key, element in dict{ print the key and the element }
这可能吗?
javascript google-apps-script
google-apps-script ×1
javascript ×1