Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ES2015 destructuring assignment to swap vars
This commit uses ES2015 destructuring assignment to swap two variables instead of using a tmp var. Flow has an open issue (facebook/flow#183) with this feature, though, so // $FlowFixMe is used to temporarily suppress the error.
- Loading branch information