Fix a couple of misspelled words. (#34055)

This commit is contained in:
alavia
2019-03-20 04:39:57 -04:00
committed by The Coding Aviator
parent 915c5fbfb6
commit 6a43b4d61e

View File

@ -72,7 +72,7 @@ array[5]
```
#### .pop
The .pop method will permantently remove the last element of an array and return this element:
The .pop method will permanently remove the last element of an array and return this element:
``` ruby
array.pop
@ -80,7 +80,7 @@ array.pop
```
#### .shift
The .shift method will permantently remove the first element of an array and return this element:
The .shift method will permanently remove the first element of an array and return this element:
``` ruby
array.shift