diff --git a/_posts/en/javascript/2015-12-29-insert-item-inside-an-array.md b/_posts/en/javascript/2015-12-29-insert-item-inside-an-array.md index f85fd184..b87f2225 100644 --- a/_posts/en/javascript/2015-12-29-insert-item-inside-an-array.md +++ b/_posts/en/javascript/2015-12-29-insert-item-inside-an-array.md @@ -17,7 +17,7 @@ categories: - javascript --- -# Inserting and item into an existing array +# Inserting an item into an existing array Inserting an item into an existing array is a daily common task. You can add elements to the end of an array using push, to the beginning using unshift, or to the middle using splice. @@ -184,4 +184,4 @@ var items = ['one', 'two', 'three', 'four']; items.splice(items.length / 2, 0, 'hello'); ``` -I tried to run these tests in various Browsers and OS and the results were similar. I hope these tips will be useful for you and encourage to perform your own tests! \ No newline at end of file +I tried to run these tests in various Browsers and OS and the results were similar. I hope these tips will be useful for you and encourage to perform your own tests!