Code Climate
Product
Browser Extension
Features
Pricing
Developers
Sign up
Login
December-software-project/sort-algo
View on GitHub
Star
Overview
Progress
Issues
Code
Filters
Trends
Last
main
build
See recent builds
19 days ago
Refresh default branch
Refresh
src/visualizer/algorithm/sortingalgorithms/swap.js
Summary
Maintainability
A
0 mins
Test Coverage
A
100%
Issues
Source
Stats
Issues
Coverage
export const swap = (i, j, arr) => { let temp = arr[i]; arr[i] = arr[j]; arr[j] = temp; };