mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 15:24:09 +03:00
Fixed typo in Julia document
Element was popped from wrong array.
This commit is contained in:
parent
598fe61e1a
commit
f88b0ba326
@ -147,7 +147,7 @@ push!(a,3) #=> [1,2,4,3]
|
||||
append!(a,b) #=> [1,2,4,3,4,5,6]
|
||||
|
||||
# Remove from the end with pop
|
||||
pop!(a) #=> 6 and b is now [4,5]
|
||||
pop!(b) #=> 6 and b is now [4,5]
|
||||
|
||||
# Let's put it back
|
||||
push!(b,6) # b is now [4,5,6] again.
|
||||
|
Loading…
Reference in New Issue
Block a user