Skip to content

Instantly share code, notes, and snippets.

@galElmalah
Created October 31, 2020 19:10
Show Gist options
  • Save galElmalah/5fdfc9cc26336e16aea346032a544044 to your computer and use it in GitHub Desktop.
Save galElmalah/5fdfc9cc26336e16aea346032a544044 to your computer and use it in GitHub Desktop.
bubbleSort(randomArray, (action) => {
actionsMap[action.type](action, arrayMembers);
ctx.clearRect(0, 0, innerWidth, innerHeight);
drawAll();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment