使用 for-of 與 Object.getOwnPropertyNames() 迴圈來迭代物件的例子程式碼如下。 JavaScript. javascriptCopy var Cities = {City1: ...
確定! 回上一頁