That comma wasn't a typo - Javascript (like many scripting languages) allows a comma at the end of a list like that. It's great for when you add another item to the list (or, in this case, another property to an object). Python, which you probably did a bit of in Physics, allows the same.
It's a bit of an odd case, because JSON - which is Javascript syntax, after all - doesn't allow it.
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.
That comma wasn't a typo - Javascript (like many scripting languages) allows a comma at the end of a list like that. It's great for when you add another item to the list (or, in this case, another property to an object). Python, which you probably did a bit of in Physics, allows the same.
It's a bit of an odd case, because JSON - which is Javascript syntax, after all - doesn't allow it.