IndexOf() method returns the position of the first occurrence of a value in a string.
Example:
let str = "I love the taste of sugar in the morning"
let noun = str.indexOf("sugar")
console.log(noun);
// Output of 20
IndexOf() method returns the position of the first occurrence of a value in a string.
Example:
let str = "I love the taste of sugar in the morning"
let noun = str.indexOf("sugar")
console.log(noun);
// Output of 20
For further actions, you may consider blocking this person and/or reporting abuse
John Owolabi Idogun -
MedCode -
Nevo David -
Scofield Idehen -
Once suspended, calvinoea will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, calvinoea will be able to comment and publish posts again.
Once unpublished, all posts by calvinoea will become hidden and only accessible to themselves.
If calvinoea is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Calvin.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag calvinoea:
Unflagging calvinoea will restore default visibility to their posts.
Top comments (0)