Passing a string to setInterval
is fine, and is one of two ways to use setInterval
, the other is passing a function pointer. It is not wrong in any way like the other answers state, but it is not as efficient (as the code must be reparsed) norβ¦
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)