array of array key value javascript

JavaScript
var categories = [
    {"1":"Category 1"},
    {"2":"Category 2"},
    {"3":"Category 3"},
    {"4":"Category 4"}
];
Source

Also in JavaScript: