Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small refactor in some sorting algorithms for better readability #3

Merged
merged 3 commits into from
May 24, 2018
Merged

small refactor in some sorting algorithms for better readability #3

merged 3 commits into from
May 24, 2018

Conversation

PeterShershov
Copy link
Contributor

Small change to make it more readable using the spread operator.

@codecov-io
Copy link

codecov-io commented May 23, 2018

Codecov Report

Merging #3 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #3   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          76     76           
  Lines        1596   1596           
  Branches      282    282           
=====================================
  Hits         1596   1596
Impacted Files Coverage Δ
src/algorithms/sorting/shell-sort/ShellSort.js 100% <100%> (ø) ⬆️
src/algorithms/sorting/bubble-sort/BubbleSort.js 100% <100%> (ø) ⬆️
...algorithms/sorting/selection-sort/SelectionSort.js 100% <100%> (ø) ⬆️
...algorithms/sorting/insertion-sort/InsertionSort.js 100% <100%> (ø) ⬆️
src/algorithms/sorting/quick-sort/QuickSort.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d596e1d...297875e. Read the comment docs.

@PeterShershov PeterShershov reopened this May 23, 2018
@PeterShershov PeterShershov changed the title small refactor in bubble sort for better readability small refactor in some sorting algorithms for better readability May 23, 2018
@trekhleb
Copy link
Owner

@PeterShershov thank you for your fix! Spread operator you've used is better for readability of course.

@trekhleb trekhleb merged commit c8b3fb9 into trekhleb:master May 24, 2018
tstillwell added a commit to tstillwell/javascript-algorithms that referenced this pull request Jul 21, 2018
MUDev1994 pushed a commit to MUDev1994/javascript-algorithms that referenced this pull request May 26, 2023
small refactor in some sorting algorithms for better readability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants