Skip to content

Commit 6cfe10b

Browse files
boyeonihnViolet-Bora-Lee
authored andcommitted
fix: [오타수정] Part 1 챕터 5.3 자료구조와 자료형의 문자열 섹션 (Issue #1456)
1 parent d179ae1 commit 6cfe10b

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
@@ -286,7 +286,7 @@ while ((pos = str.indexOf(target, pos + 1)) != -1) {
286286
반환되는 부분 문자열 위치는 문자열 끝이 기준입니다.
287287
```
288288
289-
`if`문의 조건식에 `indexOf`를 쓸 때 주의할 점이 하나 있습니다. 아래와 같이 코드들 작성하면 원하는 결과를 얻을 수 없습니다.
289+
`if`문의 조건식에 `indexOf`를 쓸 때 주의할 점이 하나 있습니다. 아래와 같이 코드를 작성하면 원하는 결과를 얻을 수 없습니다.
290290
291291
```js run
292292
let str = "Widget with id";

0 commit comments

Comments
 (0)