Yep, that's nice. Object.keys(obj) always bothered me as then you needed to grab the value from the obj with the index of the key, but this way you have it there when you map etc.
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.
It's quite useful to convert objects to other formats, like query strings or SQL queries:
Yep, that's nice.
Object.keys(obj)
always bothered me as then you needed to grab the value from the obj with the index of the key, but this way you have it there when you map etc.