{"id":1370,"date":"2020-09-29T02:27:29","date_gmt":"2020-09-28T18:27:29","guid":{"rendered":"https:\/\/jimmyswebnote.com\/?p=1370"},"modified":"2021-08-08T22:55:22","modified_gmt":"2021-08-08T14:55:22","slug":"the-difference-between-for-in-and-for-of","status":"publish","type":"post","link":"https:\/\/jimmyswebnote.com\/the-difference-between-for-in-and-for-of\/","title":{"rendered":"\u3010JavaScript\u3011\u751a\u9ebc\u6642\u5019\u8a72\u7528 for…in\uff0c\u751a\u9ebc\u6642\u5019\u8a72\u7528 for…of"},"content":{"rendered":"\n

for…in \u662f\u500b\u5e38\u5728 Object \u4e2d\u4f7f\u7528\u7684\u65b9\u6cd5\uff0c\u4f46\u524d\u4e00\u9663\u5b50\u767c\u73fe\u539f\u4f86\u9084\u6709 for…of\uff0c\u6015\u641e\u6df7\u9019\u5169\u500b\u6240\u4ee5\u4f86\u6574\u7406\u4e00\u4e0b\u5dee\u5225\u3002<\/p>\n\n\n\n

\n

Table of Contents<\/p>\n