Javascript Dynamically Array One Liner

JavaScript: Dynamically create and populate array in one line

var data = {
    votes: [1, 2, 3, 4, 5, 6, 7, 8]
};
var data = {},
    total = 8;
data.votes = Array.apply(null, {
    length: total
}).map(Number.call, Number);