I have following object:
var obj = {"last_name": "john", "age": 23, "city": "London"}
I want to add a new element of first_name at the start of this object to look like this:
{"first_name": "Samuel", "last_name": "john", "age": 23, "city": "London"}
I know I can do obj.first_name = "Samuel"
but it adds the new element at the end of the object. How can I add it at the start?