mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
Fixes array typos
This commit is contained in:
parent
50e49eced1
commit
ea853dfa67
@ -117,11 +117,11 @@ status == :approved #=> false
|
||||
# Arrays
|
||||
|
||||
# This is an array
|
||||
[1, 2, 3, 4, 5] #=> [1, 2, 3, 4, 5]
|
||||
array = [1, 2, 3, 4, 5] #=> [1, 2, 3, 4, 5]
|
||||
|
||||
# Arrays can contain different types of items
|
||||
|
||||
array = [1, "hello", false] #=> => [1, "hello", false]
|
||||
[1, "hello", false] #=> [1, "hello", false]
|
||||
|
||||
# Arrays can be indexed
|
||||
# From the front
|
||||
|
Loading…
Reference in New Issue
Block a user