Skip to content

Commit

Permalink
Fix array document (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
meatball133 authored Nov 20, 2023
1 parent 4ef6451 commit 0055bd6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions concepts/array/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ To define a multi-dimensional array, you can either write an array of arrays lit
[[1, 2], [3, 4]] # => [[1, 2], [3, 4]]
numbers = Array(Array(Int32)).new() # => []
numbers << [1, 2] # => [[1, 2]]
```

## Add an element to an array

Expand Down
1 change: 1 addition & 0 deletions concepts/array/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ To define a multi-dimensional array, you can either write an array of arrays lit
[[1, 2], [3, 4]] # => [[1, 2], [3, 4]]
numbers = Array(Array(Int32)).new() # => []
numbers << [1, 2] # => [[1, 2]]
```

## Add an element to an array

Expand Down
1 change: 1 addition & 0 deletions exercises/concept/language-list/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ To define a multi-dimensional array, you can either write an array of arrays lit
[[1, 2], [3, 4]] # => [[1, 2], [3, 4]]
numbers = Array(Array(Int32)).new() # => []
numbers << [1, 2] # => [[1, 2]]
```

## Add an element to an array

Expand Down

0 comments on commit 0055bd6

Please sign in to comment.