diff --git a/src/content/4/en/part4b.md b/src/content/4/en/part4b.md index 6da9ce905dc..005ece0ffae 100644 --- a/src/content/4/en/part4b.md +++ b/src/content/4/en/part4b.md @@ -894,8 +894,8 @@ Promise.all executes the promises it receives in parallel. If the promises need beforeEach(async () => { await Note.deleteMany({}) - for (let note of helper.initialNotes) { - let noteObject = new Note(note) + for (const note of helper.initialNotes) { + const noteObject = new Note(note) await noteObject.save() } })