It seems good
If you are not able to see the console.log, it can be related to an error when calling the code before.
So you can try to add a console.log in the first line of your function (just to be sure you are able to call your method) and then you should be able to see if everything goes right
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.
Top comments (1)
It seems good
If you are not able to see the console.log, it can be related to an error when calling the code before.
So you can try to add a console.log in the first line of your function (just to be sure you are able to call your method) and then you should be able to see if everything goes right