Hot answers tagged

1

A short review This code passes jshint perfectly, well done. Besides the obvious warning that you did not provide swap of course The name arrayCopy is perhaps unfortunate, since this works on any array whether it is a copy or not The name bubbleSort also does not perfectly describe what is going on, it not only bubble sorts the array, but it also tracks the ...


Only top voted, non community-wiki answers of a minimum length are eligible