What “…” means in Javascript (ES6)? [duplicate]
问题 This question already has answers here : What do these three dots in React do? (23 answers) Closed 2 years ago . I am learning Redux, React and ES6. I already developed with JS, but this new world of ES6 are surprising me with a lot of new things like "=>" to declare arrow functions and other. However, in this new Redux studies, I confront with ... in middle of my code. Bellow I have an example: import { combineReducers, createStore } from 'redux' const userReducer = (state={}, action) => {