diff --git a/05_Day/05_day_arrays.md b/05_Day/05_day_arrays.md index f8eff885..bf9dc689 100644 --- a/05_Day/05_day_arrays.md +++ b/05_Day/05_day_arrays.md @@ -570,7 +570,7 @@ unshift: Adding array element in the beginning of the array ```js const numbers = [1, 2, 3, 4, 5] -numbers.unshift(0) // -> remove one item from the beginning +numbers.unshift(0) // -> add one item from the beginning console.log(numbers) // -> [0,1,2,3,4,5] ```