There are way too many questions asked on converting a Javascript Object to an Array.
But I can't find any example of converting Javascript Object to an Array with guaranteed order.
I would like to explain you by an example:
If I have an object called person like:
var person = {
f_name: "John",
l_name: "Doe",
age: 20
}
I want an Array that will always look like:
["John", "Doe", 20]
I mean the values in the Array should always be in the same order as my object.
Reply to @KevinB: