What does the ...
in {onClick, onMouseover, ...others}
syntax mean in the following ES6/Typescript/React snippet? It did not follow the others
variable later in code.
componentWillUnmount() {
{onClick, onMouseover, ...others} = this.props.listeners;
_.each(others, function(listener) {
PageStore.removeChangeListener(listener);
});
}