Fixed pop method description (#21254)
This commit is contained in:
@ -73,7 +73,7 @@ array[5]
|
|||||||
```
|
```
|
||||||
|
|
||||||
#### .pop
|
#### .pop
|
||||||
The .pop method will permantently remove the last element of an array:
|
The .pop method will permantently remove the last element of an array and return this element:
|
||||||
|
|
||||||
``` ruby
|
``` ruby
|
||||||
array.pop
|
array.pop
|
||||||
|
Reference in New Issue
Block a user