function allEqual(a) { var out = true, i = 0; while (++i