---
title: "Comment by Samuel Kubiti on \"JavaScript: How to remember the difference between \"for...in\" and \"for...of\"\" | Hashnode"
description: "Useful content, I always had to look up the differences when I wanted to use one."
url: "https://hashnode.com/posts/javascript-how-to-remember-the-difference-between-forin-and-forof/5f8093bcf829251669389a9f/comment/5fbe9b8fd73a0534d9b513a0"
---

[Discussion](https://hashnode.com/posts/javascript-how-to-remember-the-difference-between-forin-and-forof/5f8093bcf829251669389a9f)

Comment [JavaScript: How to remember the difference between "for...in" and "for...of"](https://hashnode.com/posts/javascript-how-to-remember-the-difference-between-forin-and-forof/5f8093bcf829251669389a9f)

[Samuel Kubiti](https://hashnode.com/@Kubiti)

[Nov 25, 2020](https://hashnode.com/posts/javascript-how-to-remember-the-difference-between-forin-and-forof/5f8093bcf829251669389a9f/comment/5fbe9b8fd73a0534d9b513a0)

Useful content, I always had to look up the differences when I wanted to use one.
