Posts by Sr. João • 13 points
1 post
-
-2
votes3
answers166
viewsA: Create function in javascript
The indexOf returns the position of a string in another string or -1 if you don’t find. var s = "foo"; alert(s.indexOf("oo") != -1);…
javascriptanswered Sr. João 13