From 39a4c626f4171fd2b2a9f16a9b126cf36092ce10 Mon Sep 17 00:00:00 2001 From: Travis Rollins Date: Wed, 6 Dec 2023 10:13:58 -0800 Subject: [PATCH] Fix name of reverseMovies in test scenario --- .../module-2/array-prototype-methods-mutator-and-accessor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessons/module-2/array-prototype-methods-mutator-and-accessor.md b/lessons/module-2/array-prototype-methods-mutator-and-accessor.md index 51c50e86..fd2ed424 100644 --- a/lessons/module-2/array-prototype-methods-mutator-and-accessor.md +++ b/lessons/module-2/array-prototype-methods-mutator-and-accessor.md @@ -142,7 +142,7 @@ const cities = [ Write a function `reverseMovies(movies)` that takes an array of sorted `movies` by their year and uses the `reverse` method to reverse the order of movies. Return a new array of movies where they are listed from newest to oldest. ```js -console.log(reverseStudents(students)); +console.log(reverseMovies(students)); // Output: [ // { title: 'Inception', director: 'Christopher Nolan', year: 2010 }, // { title: 'The Dark Knight', director: 'Christopher Nolan', year: 2008 },