Skip to content

Commit 6552409

Browse files
authored
fix(curriculum): update last question of working with strings in javascript lecture (freeCodeCamp#57939)
1 parent b209cf8 commit 6552409

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

curriculum/challenges/english/25-front-end-development/lecture-working-with-strings-in-javascript/673263e80dd43da7df3ae565.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,35 +86,35 @@ Remember, you can pass a second argument to the method to control where the sear
8686

8787
## --text--
8888

89-
What type of function is `indexOf` in JavaScript?
89+
What type of method is `indexOf` in JavaScript?
9090

9191
## --answers--
9292

9393
A standalone function.
9494

9595
### --feedback--
9696

97-
Methods are functions that belong to specific objects in JavaScript.
97+
Consider the type of object that deals with text in JavaScript.
9898

9999
---
100100

101-
A method of the `Array` object.
101+
A method of the `Date` object.
102102

103103
### --feedback--
104104

105-
Methods are functions that belong to specific objects in JavaScript.
105+
Consider the type of object that deals with text in JavaScript.
106106

107107
---
108108

109109
A method of the `String` object.
110110

111111
---
112112

113-
A mathematical function.
113+
A method of the `Math` object.
114114

115115
### --feedback--
116116

117-
Methods are functions that belong to specific objects in JavaScript.
117+
Consider the type of object that deals with text in JavaScript.
118118

119119
## --video-solution--
120120

0 commit comments

Comments
 (0)