File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ print(strings[-3]) // "foo"
3636
3737If we try to access an element beyond the length of the array, we'll get an ` IndexOutOfBounds ` error.
3838
39- ## Updaing Arrays
39+ ## Updating Arrays
4040
41- One of the major benefits arrays have is the ability to change the values it contains. We can update an array's values like so:
41+ One of the major benefits of an array is the ability to change the values it contains. We can update an array's values like so:
4242
4343``` grain
4444let strings = [> "foo", "bar", "baz"]
@@ -84,7 +84,7 @@ Lists are excellent because they're
8484
8585Lists might not be the right choice because they're
8686
87- - unable to be modified
87+ - unable to be modified in place
8888- inefficient at accessing random elements
8989- inefficient at determining the number of elements
9090
You can’t perform that action at this time.
0 commit comments