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 #### .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 ``` ruby
array.pop array.pop
@ -80,7 +80,7 @@ array.pop
``` ```
#### .shift #### .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 ``` ruby
array.shift array.shift