From 94400adb12c22c38fd4894246aff02fb1c559dec Mon Sep 17 00:00:00 2001 From: lwy <8850062+liwanyun2521@user.noreply.gitee.com> Date: Sat, 27 Nov 2021 13:30:39 +0000 Subject: [PATCH] =?UTF-8?q?update=2010.=20=E8=BF=AD=E4=BB=A3=E5=99=A8?= =?UTF-8?q?=E5=92=8C=E7=94=9F=E6=88=90=E5=99=A8/10-2.=20=E5=8F=AF=E8=BF=AD?= =?UTF-8?q?=E4=BB=A3=E5=8D=8F=E8=AE=AE=E4=B8=8Efor-of=E5=BE=AA=E7=8E=AF/?= =?UTF-8?q?=E7=AC=94=E8=AE=B0.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../\347\254\224\350\256\260.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/10. \350\277\255\344\273\243\345\231\250\345\222\214\347\224\237\346\210\220\345\231\250/10-2. \345\217\257\350\277\255\344\273\243\345\215\217\350\256\256\344\270\216for-of\345\276\252\347\216\257/\347\254\224\350\256\260.md" "b/10. \350\277\255\344\273\243\345\231\250\345\222\214\347\224\237\346\210\220\345\231\250/10-2. \345\217\257\350\277\255\344\273\243\345\215\217\350\256\256\344\270\216for-of\345\276\252\347\216\257/\347\254\224\350\256\260.md" index df77b17..3363378 100644 --- "a/10. \350\277\255\344\273\243\345\231\250\345\222\214\347\224\237\346\210\220\345\231\250/10-2. \345\217\257\350\277\255\344\273\243\345\215\217\350\256\256\344\270\216for-of\345\276\252\347\216\257/\347\254\224\350\256\260.md" +++ "b/10. \350\277\255\344\273\243\345\231\250\345\222\214\347\224\237\346\210\220\345\231\250/10-2. \345\217\257\350\277\255\344\273\243\345\215\217\350\256\256\344\270\216for-of\345\276\252\347\216\257/\347\254\224\350\256\260.md" @@ -20,7 +20,7 @@ for-of 循环用于遍历可迭代对象,格式如下 ```js //迭代完成后循环结束 -for(const item in iterable){ +for(const item of iterable){ //iterable:可迭代对象 //item:每次迭代得到的数据 } -- Gitee