Skip to content

Commit a9d2363

Browse files
authored
Merge pull request #2296 from odsantos/update-strings
Rephrase sentence.
2 parents 50a20d1 + 5e9937a commit a9d2363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/03-string/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ alert( str.indexOf('widget') ); // -1, not found, the search is case-sensitive
239239
alert( str.indexOf("id") ); // 1, "id" is found at the position 1 (..idget with id)
240240
```
241241

242-
The optional second parameter allows us to search starting from the given position.
242+
The optional second parameter allows us to start searching from a given position.
243243

244244
For instance, the first occurrence of `"id"` is at position `1`. To look for the next occurrence, let's start the search from position `2`:
245245

0 commit comments

Comments
 (0)