From 6396f642cae775a3c2c8e0af93632a279269467a Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Mon, 20 Jan 2020 10:32:55 +0200 Subject: [PATCH] Update iterators post --- blog_posts/javascript-for-in-for-of-foreach.md | 1 + 1 file changed, 1 insertion(+) diff --git a/blog_posts/javascript-for-in-for-of-foreach.md b/blog_posts/javascript-for-in-for-of-foreach.md index ceb7be925..9ac95c61d 100644 --- a/blog_posts/javascript-for-in-for-of-foreach.md +++ b/blog_posts/javascript-for-in-for-of-foreach.md @@ -4,6 +4,7 @@ type: question tags: javascript,array,object,iterator authors: chalarangelo cover: blog_images/javascript-for-in-for-of-foreach.jpg +excerpt: Learn the differences between the three most commonly used iteration methods offered by JavaScript, which often confuse beginners and veterans alike. --- `for...in` is used to iterate over all enumerable properties of an object, including inherited enumerable properties.