Skip to content

Commit ce41334

Browse files
committed
improve 87. What's the output? with minor changes
1 parent 7fbb60f commit ce41334

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)