From 17a777b416fe9c0a2fbc4bebc4ea4be8a516332c Mon Sep 17 00:00:00 2001 From: stefanoantonel Date: Mon, 27 Nov 2023 09:51:07 +0100 Subject: [PATCH] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e1a8453..a9924d1 100644 --- a/README.md +++ b/README.md @@ -489,7 +489,7 @@ Each proposal for an ECMAScript feature goes through the following maturity stag An iterator implements the Iterator protocol by having a next() method that returns an object with two properties: 1. **value:** The next value in the iteration sequence. - 2. **done:** returns rue if the last value in the sequence has already been consumed. + 2. **done:** returns true if the last value in the sequence has already been consumed. You can make the object iterable by defining a `Symbol.iterator` property on it.