diff --git a/content/lessons/js2/sublesson/map_reduce_and_filter_functions.mdx b/content/lessons/js2/sublesson/map_reduce_and_filter_functions.mdx index 4863cc166..36ef8d657 100644 --- a/content/lessons/js2/sublesson/map_reduce_and_filter_functions.mdx +++ b/content/lessons/js2/sublesson/map_reduce_and_filter_functions.mdx @@ -1972,17 +1972,6 @@ Because map runs the functions really fast and returns immediately. In a race, if all runners started immediately one after another, they would arrive at the destination at around the same time. -```jsx -const friends = ['Tony Stark', 'Vision', 'Ultron'].reduce((a, b) => { - setTimeout(() => { - console.log('Greetings,', b) - }, 2000) - return a + b -}, '') // What is friends? - -// What gets printed out into the console? -``` - ```jsx