kolor.js
function (items, i, j) {
            var k = items[i];
            items[i] = items[j];
            items[j] = k;
        }
function (items, i, j) {
            var k = items[i];
            items[i] = items[j];
            items[j] = k;
        }
function ( items , i , j ) { var k = items [ i ] ; items [ i ] = items [ j ] ; items [ j ] = k ; }
Swaps two array elements.
Swaps two array elements .