I want to create a array out of a JavaScript object, containing the values of all of the object's properties.
For example, given this object:
{
"firstName": "John",
"lastName": "Smith",
"isAlive": "true",
"age": "25"
}
I want to produce this array:
var myarray = ['John', 'Smith', 'true', '25'];
How can I do this?