More i capitalization
This commit is contained in:
committed by
İnanç Gümüş
parent
73b37c16c5
commit
822016daa1
@ -112,7 +112,7 @@ if colors == tones {
|
|||||||
|
|
||||||
## What is the length of this slice?
|
## What is the length of this slice?
|
||||||
```go
|
```go
|
||||||
[]string{"i'm", "going", "to", "stay", "\"here\""}
|
[]string{"I'm", "going", "to", "stay", "\"here\""}
|
||||||
```
|
```
|
||||||
|
|
||||||
1. 0
|
1. 0
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
## When you slice a slice, what value does it return?
|
## When you slice a slice, what value does it return?
|
||||||
```go
|
```go
|
||||||
// example:
|
// example:
|
||||||
s := []string{"i'm", "a", "slice"}
|
s := []string{"I'm", "a", "slice"}
|
||||||
s[2:] // <-- slicing
|
s[2:] // <-- slicing
|
||||||
```
|
```
|
||||||
1. It returns a new slice value with a new backing array
|
1. It returns a new slice value with a new backing array
|
||||||
|
Reference in New Issue
Block a user