JavaScript will parse a string until it gets to an character it can't parse and then return the value. In this example, by parsing hexadecimal, we get f in the first example, fa in the second, but nothing in the third because s isn't a valid hex character.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
JavaScript
JavaScript will parse a string until it gets to an character it can't parse and then return the value. In this example, by parsing hexadecimal, we get
fin the first example,fain the second, but nothing in the third becausesisn't a valid hex character.