var arr = [{firstname: "John", lastname: "Smith"}]; arr= [...arr, {firstname: "Name1", lastname: "LName"}]