Merge pull request #1792 from aniketkudale/master

Corrected Grammar
This commit is contained in:
Ilya Kantor 2020-03-21 10:57:02 +03:00 committed by GitHub
commit d19401e4bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ For stacks, the latest pushed item is received first, that's also called LIFO (L
Arrays in JavaScript can work both as a queue and as a stack. They allow you to add/remove elements both to/from the beginning or the end.
In computer science the data structure that allows it is called [deque](https://en.wikipedia.org/wiki/Double-ended_queue).
In computer science the data structure that allows this, is called [deque](https://en.wikipedia.org/wiki/Double-ended_queue).
**Methods that work with the end of the array:**