vue.js – Push to array in object js In Mutation on vue throw an error that say push is not a function

const state={
peoples: ()
}; const actions = { newPeople({commit},people){ people = { id:3,title:”people3″} commit(‘newPeople’,people ); } const mutations = {
newPeople:(state,people) => state.peoples.push(people)
};