The new array would be: ["Sally", "Jack"] Here is my react component: . ... setState({people: this.state.people.concat([e.target.value])}) ...
確定! 回上一頁