Skip to content

Commit 4ba60e1

Browse files
authored
Merge pull request lydiahallie#590 from hamirmahal/feat/improve-87
improve 87. What's the output? with minor changes
2 parents 2f23486 + ce41334 commit 4ba60e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2764,9 +2764,9 @@ console.log('I want pizza'[0]);
27642764

27652765
#### Answer: B
27662766

2767-
In order to get an character on a specific index in a string, you can use bracket notation. The first character in the string has index 0, and so on. In this case we want to get the element which index is 0, the character `"I'`, which gets logged.
2767+
In order to get a character at a specific index of a string, you can use bracket notation. The first character in the string has index 0, and so on. In this case, we want to get the element with index 0, the character `"I'`, which gets logged.
27682768

2769-
Note that this method is not supported in IE7 and below. In that case, use `.charAt()`
2769+
Note that this method is not supported in IE7 and below. In that case, use `.charAt()`.
27702770

27712771
</p>
27722772
</details>

0 commit comments

Comments
 (0)