unique

JavaScript performance comparison

Revision 9 of this test case created by Andrea Giammarchi

Preparation code


      
      <script>
Benchmark.prototype.setup = function() {
  const a = [8,20,32,46,1,19,1,18,7,3,40,49,20,45,0,17,28,5,46,30,4,10,10,42,3,21,46,5,49,47,24,39,2,13,18,3,16,17,49,44,32,44,6,20,40,43,40,11,28,31,20,22,23,7,30,5,34,22,44,35,29,35,29,25,45,9,9,6,39,27,33,13,49,49,16,8,43,9,33,21,49,26,40,23,20,49,13,19,35,29,43,43,26,47,20,10,1,43,20,29,45,46,44,12,31,15,5,13,34,32,4,47,22,44,40,27,39,42,29,28,45,48,49,17,35,32,2,31,47,33,24,21,41,34,24,25,14,47,7,32,24,9,16,0,38,40,18,6,26,9,9,48,40,34,33,7,49,39,33,4,34,3,38,43,48,9,7,38,19,24,40,42,14,18,26,2,4,47,14,16,27,16,34,35,28,45,42,20,48,4,31,9,30,22,38,15,5,25,6,41,43,12,9,41,3,24,31,24,45,13,20,30,33,23,41,44,23,6,7,9,4,47,44,30,1,0,31,20,10,48,3,4,28,21,10,25,38,35,9,34,1,36,23,19,38,14,14,49,45,8,2,41,39,30,46,20,47,42,23,24,44,22,13,1,14,19,20,20,41,45,45,13,49,42,13,48,26,0,13,36,43,22,49,11,8,42,46,11,25,22,23,1,19,37,41,5,25,16,9,38,18,4,34,25,44,21,22,30,16,29,34,26,23,12,47,6,7,17,36,13,1,31,16,32,20,25,17,3,16,29,23,33,24,26,17,45,33,2,11,39,48,23,49,11,30,4,48,43,28,15,19,28,22,45,42,43,34,27,7,48,47,47,49,29,28,23,19,3,6,47,3,30,13,25,29,24,29,2,49,49,29,12,44,5,24,4,0,3,11,4,31,22,4,31,35,45,27,46,41,4,46,38,40,8,28,26,29,37,41,19,35,21,4,31,30,23,18,45,39,3,13,4,9,4,45,31,45,35,41,9,36,18,36,43,18,11,14,45,47,8,6,45,42,6,23,25,41,23,24,18,49,30,12,25,31,44,9,4,38,40,46,45,18,22,28,5,37,9,34,37,30,9,22,39,19,34,43,38,46,12,49,41,47,17,49,38,35,47,23,38,17,33,9,18,21,26,42,12,48,33,18,27,9,24,30,18,12,35,22,37,9,17,23,38,23,21,31,28,43,41,17,36,13,36,30,1,32,34,14,0,13,8,25,44,13,21,41,3,27,26,40,45,20,9,24,44,41,43,16,33,13,33,33,38,38,12,23,26,41,45,35,47,43,35,8,29,45,9,44,35,22,30,32,2,41,48,5,7,43,20,8,10,27,11,31,41,29,26,16,21,38,8,29,29,10,44,14,37,0,31,42,20,16,44,2,30,44,23,31,40,38,19,23,39,10,25,33,23,35,19,35,32,37,37,23,49,5,15,32,38,48,11,13,46,31,42,31,40,36,39,44,20,2,13,45,27,16,42,31,41,27,6,18,43,9,0,7,15,36,47,33,41,44,8,41,17,42,35,47,20,21,25,13,27,2,22,15,29,42,31,2,37,26,26,2,39,13,35,0,10,13,39,37,30,48,27,9,32,44,13,30,7,27,15,30,26,39,47,25,20,16,23,42,1,26,3,10,44,25,25,21,5,18,44,8,43,8,5,19,1,2,46,2,29,22,30,48,20,19,33,3,22,14,29,24,25,47,29,39,32,29,7,34,49,13,44,15,15,32,48,8,12,12,14,11,38,2,9,42,21,32,9,25,45,3,45,14,3,41,43,3,2,28,35,13,28,41,28,34,13,14,24,8,5,45,47,13,17,44,25,18,44,29,17,15,22,34,7,43,42,13,7,15,34,22,0,0,4,37,28,21,10,23,3,27,39,30,47,16,43,32,41,47,29,23,40,0,0,17,41,29,28,39,30,21,48,23,9,42,23,0,22,23,8,39,17,35,21,34,6,7,20,32,11,18,26,30,0,10,17,25,30,19,45,4,17,38,35,48,2,30,39,8,32,24,17,14,22,45,40,8,29,40,26,38,20,18,13,43,33,30,46,17,38,5,44,8,21,28,6,14,47,8,20,23,12,1,45,45,8,27,42,0,7,15,15,41,34,40,7,45,35,30,47,35,25,36,33,0,3,5,9,12,22,20,13,44,20,48,41,21,0,27,33,47,34,1,37,33,12,35,12,14,18,27,10,43,6,0,11,23,21,49,28,35,32,26,20,9,2,16,26,7,18,17,21,20,43,21,45,21,33,46,23,40,48,15,38,12,4,26,6,40,8,42,5,10,19,23,43,35,20,37,19,7,37,49,33,20,45,14,0,19,3,16,24,12,8,22,38,22,34,45,37,46,7,25,11,14,43,1,16,6,12,47,35,38,21,44,14,9,46,19,46,10,8,49,45,24,24,39,35,42,18,44,34,5,39,3,43,25,44,32,18,2,18,3,28,15,11,35,39,33,17,45,38,28,20,13,2,10,6,12,2,9,35,34,30,39,24,13,11,5,34,15,24,46,10,39,18,44,49,48,20,16,48,44,18,34,16,20,13,34,32,12,32,14,20,19,39,44,36,6,37,31,20,16,17,15,42,6,31,0,1,47,46,32,17,48,12,13,41,6,12,3,7,30,22,32,48,14,32,40,29,33,19,23,16,32,32,43,5,26,43,40,4,5,2,13,37,2,14,34,1,48,28,31,3,29,8,21,6,27,48,11,46,29,4,35,29,19,45,35,37,26,33,43,8,46,25,24,23,24,12,44,4,32,41,8,2,16,38,47,4,46,39,8,12,39,1,14,14,0,5,6,18,15,41,1,5,44,16,42,30,19,45,16,49,32,30,16,31,31,33,28,36,40,11,38,39,10,35,21,41,3,39,12,7,31,46,44,37,44,12,29,36,33,45,10,32,46,37,39,9,1,6,30,45,40,41,46,42,3,35,42,26,0,1,45,33,41,21,22,29,36,5,45,0,29,36,2,17,28,35,7,23,22,18,10,30,19,0,4,34,43,21,42,28,26,29,8,33,34,34,12,35,44,47,9,10,20,40,34,12,25,17,47,29,13,47,44,41,32,43,3,20,47,47,40,11,13,8,32,20,31,48,18,22,17,25,21,3,3,33,28,2,7,36,27,1,33,1,38,37,41,30,43,7,31,34,25,5,26,42,4,45,30,42,29,11,18,13,45,10,14,5,9,5,40,17,8,3,40,24,11,42,6,22,21,39,27,37,26,19,28,33,0,49,26,43,45,8,44,35,10,18,44,35,11,21,47,34,1,25,1,4,24,1,10,38,32,38,6,5,38,6,13,10,8,10,4,1,26,47,47,19,10,43,35,24,34,21,44,7,34,43,20,33,28,49,38,24,25,5,7,21,5,33,49,21,13,46,27,9,29,32,4,13,28,5,20,46,35,0,9,40,46,38,8,14,34,43,16,44,35,25,7,0,27,36,22,16,26,21,5,0,28,26,23,28,1,40,30,17,37,35,40,14,44,14,13,14,35,30,29,29,37,31,6,42,32,35,17,9,19,30,43,39,2,0,33,22,48,7,31,34,44,3,47,43,14,15,12,2,26,37,24,13,27,22,17,46,23,19,25,25,19,43,21,2,1,13,41,42,45,2,44,5,28,13,47,5,39,22,19,31,5,38,47,4,20,23,39,49,7,8,46,0,44,34,41,27,4,17,11,6,6,34,16,0,7,34,35,42,48,5,16,44,9,2,44,29,29,2,43,29,18,12,45,9,4,20,28,39,40,30,40,3,2,16,2,26,24,46,39,32,29,7,26,3,46,16,20,36,44,37,19,7,43,38,42,48,8,40,27,45,28,48,18,6,25,49,26,25,7,38,17,49,19,9,26,28,36,32,43,47,1,8,32,14,47,10,24,26,35,24,27,31,21,21,41,14,48,14,40,16,8,29,21,2,13,32,6,34,35,43,28,19,11,23,18,25,23,7,9,17,10,17,4,12,38,16,37,4,17,13,49,22,15,47,35,49,18,10,26,27,27,30,49,18,30,16,49,14,41,1,8,0,27,7,18,35,13,1,14,47,44,39,0,20,10,20,29,12,6,42,1,41,20,25,25,24,3,41,35,43,36,48,20,15,28,15,4,20,11,48,38,16,23,36,12,24,48,11,8,32,2,1,38,1,16,5,22,24,27,47,28,18,48,7,46,5,29,13,19,11,4,37,34,43,49,37,11,41,45,39,8,3,12,28,33,2,44,8,2,25,3,43,26,31,3,9,12,15,18,49,17,43,48,17,13,11,30,15,14,35,3,14,20,8,5,21,49,28,46,3,16,8,34,12,44,13,1,36,23,3,21,20,32,45,2,26,13,4,43,13,48,19,17,14,20,48,47,27,32,40,48,16,9,40,15,5,1,40,27,37,37,32,24,10,6,49,20,34,33,46,1,5,17,30,44,24,19,20,14,46,12,36,30,34,36,13,37,39,26,18,28,3,6,30,26,46,43,6,16,20,15,33,14,4,13,18,27,19,40,24,18,45,28,24,12,9,38,20,15,17,20,43,3,7,33,31,10,40,39,12,41,7,14,27,26,44,18,44,27,13,45,49,26,17,18,25,37,39,33,22,42,24,48,27,4,41,47,23,17,29,24,22,20,2,48,17,47,18,23,9,11,26,7,43,5,42,7,29,46,0,24,34,19,21,5,9,22,25,15,31,46,37,1,35,27,27,29,14,43,26,15,23,5,5,13,9,5,6,34,21,6,21,12,49,22,23,0,24,31,8,46,42,2,45,48,8,41,7,22,23,40,22,26,0,46,6,26,43,0,29,47,26,22,19,34,1,5,38,41,9,26,44,45,21,10,9,33,6,29,4,15,16,35,42,20,6,17,2,42,3,22,31,41,42,8,25,48,15,19,3,42,5,19,12,16,40,23,17,29,31,18,1,4,38,44,48,47,38,5,22,18,21,18,13,26,29,28,12,44,48,0,39,39,3,1,2,29,6,40,45,48,0,27,48,22,26,45,6,9,26,3,41,29,48,33,15,18,34,34,30,39,8,12,14,5,36,5,21,36,48,4,37,26,18,38,49,28,24,8,33,32,14,35,18,37,48,40,0,33,35,2,45,32,19,14,33,39,10,41,17,28,36,8,47,16,6,3,26,16,30,9,15,41,0,23,7,40,20,15,13,28,3,16,40,19,43,46,13,26,33,41,44,1,14,25,28,23,45,34,7,45,37,23,38,7,8,21,27,35,16,9,47,17,27,13,5,36,11,8,37,9,10,49,5,11,40,48,45,47,31,27,44,20,23,14,3,19,46,39,35,26,13,28,18,6,2,21,6,18,48,20,11,27,41,4,11,0,46,16,10,16,48,16,29,45,5,16,37,29,24,43,7,26,43,45,45,34,21,44,39,24,40,9,48,46,19,16,21,34,13,17,22,15,18,43,47,24,19,9,32,7,10,22,30,5,29,47,48,5,49,18,29,13,36,47,23,1,16,3,17,11,1,37,49,18,36,14,7,21,9,47,42,1,32,10,21,20,26,1,11,32,34,9,7,40,32,22,10,4,24,2,18,18,2,21,49,49,17,23,17,28,26,41,11,5,33,42,9,17,17,41,37,43,41,3,13,29,46,40,23,23,29,29,8,49,39,3,46,27,37,13,16,11,24,0,2,32,6,26,31,26,21,47,25,29,35,12,20,22,33,20,1,17,18,5,43,10,12,44,43,49,42,42,3,46,24,15,37,18,1,21,31,2,36,27,34,36,49,40,31,48,7,6,5,24,38,40,24,2,47,6,48,7,23,46,46,32,24,24,30,9,7,33,2,8,26,9,31,11,5,12,0,9,46,16,37,23,45,9,15,4,13,25,29,37,37,9,30,31,44,15,45,47,43,0,19,6,15,26,40,2,49,12,28,18,7,37,29,36,17,0,11,30,26,26,25,40,38,4,8,41,41,13,8,32,3,43,29,18,24,44,36,46,2,36,3,33,10,28,14,36,26,42,45,33,2,27,29,1,32,0,0,23,8,6,20,49,45,9,39,36,47,27,22,42,28,37,20,15,11,37,6,8,21,1,2,49,14,31,7,36,45,35,23,7,23,14,46,44,21,22,35,0,15,48,30,21,49,6,42,40,27,9,39,48,16,8,38,4,42,37,11,32,33,45,45,24,39,26,49,10,21,45,44,28,18,8,49,32,20,40,13,46,13,25,0,44,17,36,22,11,48,1,48,12,41,47,21,48,0,0,0,15,16,17,15,21,43,10,31,38,20,0,28,6,46,35,24,49,13,26,18,43,31,36,43,18,13,5,10,48,27,4,1,18,1,12,11,6,21,48,35,34,8,1,18,26,27,47,13,0,18,22,29,21,38,17,18,9,2,45,26,37,8,32,10,45,40,24,7,12,33,14,42,43,49,4,36,46,49,12,9,5,40,40,28,15,25,6,23,14,39,46,40,35,20,8,9,14,19,13,46,10,18,6,26,21,22,12,19,16,19,14,43,24,40,9,14,18,0,7,12,2,19,23,12,18,45,4,35,44,9,9,43,16,33,33,42,3,2,3,38,38,42,32,16,7,8,20,13,44,30,44,6,30,23,5,22,22,44,14,49,39,28,43,38,43,39,2,8,6,19,7,35,38,10,48,31,38,12,31,47,45,5,12,46,49,7,21,42,14,18,40,22,40,42,42,40,17,16,29,6,5,18,2,43,44,40,0,14,4,0,22,15,46,46,11,8,8,43,14,27,1,38,20,22,47,46,48,34,41,13,33,12,32,47,27,5,43,43,21,1,34,24,34,25,41,9,49,23,49,45,1,5,48,46,42,45,43,8,36,42,21,26,44,14,7,3,29,48,14,41,18,36,19,3,46,46,22,9,47,19,8,6,12,27,38,1,12,6,33,13,17,5,0,13,38,38,45,3,4,29,10,34,5,2,3,9,48,49,37,20,18,41,35,15,19,14,11,27,29,20,31,3,21,40,33,14,40,6,42,43,14,48,41,4,45,21,19,38,14,30,43,7,36,2,5,25,3,5,41,5,29,21,8,22,40,23,23,45,38,14,43,4,21,21,22,30,31,1,4,19,16,32,34,8,10,19,23,47,28,21,36,33,21,1,30,33,38,33,25,3,10,26,28,21,38,16,2,45,4,48,4,43,18,43,23,38,23,15,5,7,34,24,30,18,12,33,13,38,27,1,23,46,47,47,0,28,36,36,25,10,48,23,28,0,2,10,20,20,46,46,8,2,10,40,27,42,23,44,27,47,1,0,47,22,49,26,35,43,7,45,17,46,12,17,20,9,25,49,5,19,47,40,32,43,8,4,20,1,29,18,12,35,1,10,17,13,29,18,25,21,28,1,5,46,28,33,18,40,33,23,15,5,11,20,41,22,30,19,41,23,15,43,38,42,43,20,9,12,45,7,8,36,41,0,25,15,28,2,8,20,1,37,37,21,35,8,36,24,26,8,8,30,35,4,32,7,25,25,33,38,35,45,4,49,16,17,10,49,39,20,40,11,17,2,38,3,31,28,24,9,47,8,0,38,40,20,39,36,40,39,16,43,8,24,1,19,43,3,16,4,47,5,46,25,6,33,40,17,0,42,16,29,39,45,31,45,29,35,5,9,48,12,29,4,36,28,38,46,18,13,21,9,22,38,9,7,30,33,21,35,14,41,19,23,36,19,35,39,46,44,29,23,4,12,42,23,17,43,34,49,43,6,39,25,7,39,45,27,16,41,7,41,23,18,23,0,39,15,31,11,36,16,34,30,26,43,24,12,48,25,0,20,38,33,46,6,36,30,27,5,35,2,48,14,22,14,38,44,46,31,13,40,31,33,17,49,42,48,48,45,24,5,17,27,12,4,41,16,41,4,39,38,43,19,40,29,40,45,43,28,35,49,38,1,16,49,2,38,13,16,41,13,20,7,1,45,15,5,3,47,13,45,2,14,21,14,7,13,20,46,47,30,48,15,42,23,41,7,24,48,38,3,41,5,19,27,35,25,15,45,14,33,28,17,3,19,5,1,2,8,17,16,11,43,11,12,15,34,30,42,46,23,18,47,3,7,20,32,12,7,0,35,43,18,33,11,11,17,42,39,11,46,31,25,26,39,17,34,9,37,7,40,21,21,4,34,35,24,10,0,39,17,42,14,9,34,9,17,37,47,15,33,18,30,28,38,37,10,3,31,15,44,35,37,31,7,30,19,17,31,21,10,41,32,35,9,13,49,0,10,24,2,39,46,16,30,24,37,23,8,14,43,9,19,46,22,31,37,16,2,33,13,24,21,8,23,7,33,26,46,14,37,12,19,30,47,3,31,45,3,16,29,17,11,28,33,47,25,0,13,18,20,24,5,29,5,6,19,34,4,29,41,44,15,35,46,23,45,19,28,42,33,24,42,19,4,16,37,43,20,25,7,7,15,13,35,29,21,2,6,32,40,43,23,22,28,9,44,30,13,39,11,20,3,31,17,5,5,14,49,17,37,44,9,45,30,19,47,42,30,6,45,43,42,0,30,33,35,35,14,34,39,19,46,11,13,3,20,26,14,9,34,43,17,45,42,3,31,48,9,12,0,46,0,24,12,47,1,41,49,2,47,25,17,11,36,21,25,38,9,41,10,48,14,0,21,0,37,27,28,41,8,30,2,45,2,3,13,21,0,44,19,27,35,33,25,23,19,25,2,37,38,41,41,32,33,14,3,48,38,19,1,41,25,30,24,24,22,5,2,24,39,1,46,33,32,34,20,19,27,20,25,11,42,18,34,15,28,42,49,18,10,39,24,30,23,29,40,8,39,13,40,41,6,18,30,42,32,16,22,18,45,4,37,3,39,49,38,44,41,21,49,6,16,1,9,23,28,6,38,37,22,25,32,6,17,16,10,2,35,15,0,43,26,35,39,13,5,23,10,5,6,38,9,40,21,36,35,31,30,18,33,6,40,48,26,13,9,29,35,11,11,30,40,36,11,41,43,39,18,20,48,3,8,14,29,47,10,47,36,22,12,33,47,49,30,5,34,13,36,28,3,11,36,15,30,0,23,45,38,23,37,40,15,11,12,42,24,42,16,47,29,4,34,41,10,40,48,36,48,45,3,43,23,30,44,47,20,1,44,41,18,11,34,48,11,28,26,27,20,0,49,15,37,27,19,6,13,23,14,32,21,1,17,32,2,13,28,46,35,45,34,0,2,27,15,26,46,28,5,9,32,21,39,7,31,44,20,43,34,32,9,17,26,8,13,26,37,7,1,25,4,14,14,13,49,4,40,24,3,10,25,37,2,4,49,15,2,8,4,41,46,43,7,32,37,25,41,1,39,31,41,0,28,18,9,41,13,1,26,42,48,30,14,26,0,37,30,45,12,7,11,44,46,40,26,28,25,21,37,29,23,2,44,10,43,9,12,43,33,49,39,41,27,20,11,2,46,39,30,6,3,5,5,13,15,47,4,1,20,7,8,3,47,16,16,4,3,7,16,45,26,22,48,18,37,5,4,44,33,37,42,18,0,19,48,12,31,23,15,8,29,40,23,21,38,12,45,48,24,28,21,2,13,25,3,20,1,13,35,9,16,47,9,5,17,11,27,13,40,12,19,12,36,35,20,11,39,33,7,2,28,46,47,19,46,49,15,42,31,38,33,24,12,21,10,22,2,3,45,12,44,26,21,31,32,38,36,11,35,38,45,19,21,47,13,0,46,17,44,29,23,43,1,16,28,44,44,12,26,35,26,20,1,27,17,41,41,39,47,49,44,3,45,13,6,39,34,39,47,16,4,24,42,22,0,49,23,42,24,15,14,10,25,30,11,48,9,19,10,8,26,21,10,43,2,23,16,39,20,20,0,18,23,11,21,24,17,21,40,49,24,47,19,4,32,0,45,44,44,1,30,35,13,4,23,29,21,28,37,18,45,27,46,14,33,48,48,23,25,15,43,24,9,47,14,10,4,28,15,42,10,7,15,7,28,6,46,13,39,13,40,18,4,26,29,19,37,35,28,15,5,48,34,46,39,44,3,33,3,15,35,35,49,17,38,17,29,21,36,14,22,15,42,41,37,1,22,47,47,43,26,42,47,16,44,31,12,18,34,5,20,24,45,26,42,3,4,39,43,15,36,25,48,16,43,18,9,23,26,44,37,42,10,49,14,41,48,37,12,12,43,27,40,20,38,31,38,5,34,17,6,4,32,38,49,38,23,22,41,4,32,37,40,27,31,14,0,13,5,22,4,18,17,20,11,48,13,49,30,24,7,6,39,36,47,8,35,10,42,34,31,7,23,32,21,24,18,13,33,1,41,46,9,3,30,19,25,48,31,42,44,45,28,36,15,21,30,35,16,15,36,47,6,0,40,0,42,31,30,7,31,14,44,37,48,44,41,25,12,39,7,38,0,7,27,33,27,36,43,4,11,7,17,45,2,10,35,24,8,7,14,34,37,11,21,24,3,29,7,31,23,17,28,48,22,26,18,36,47,8,14,15,18,36,47,16,46,24,46,9,45,22,21,48,23,44,20,0,32,15,46,47,41,20,49,14,26,48,1,18,25,31,30,36,43,10,44,17,8,26,14,38,30,48,30,44,44,6,46,19,35,43,32,40,36,46,41,21,33,22,27,8,23,48,3,3,27,15,38,23,6,33,34,37,38,15,13,45,26,33,43,5,32,33,15,43,47,24,9,42,20,21,3,20,45,21,18,42,28,18,16,27,38,3,4,30,5,45,9,19,36,10,43,28,37,2,34,33,0,25,0,42,40,39,22,11,41,10,1,1,26,4,42,48,23,33,26,26,31,4,33,42,42,8,13,43,15,8,6,21,26,46,38,42,10,15,9,27,3,13,30,36,32,10,47,12,1,8,30,12,4,12,38,15,3,38,33,28,16,20,35,49,13,38,41,0,12,44,40,29,26,37,31,47,24,19,35,47,34,28,24,15,0,4,45,13,11,28,46,28,21,2,25,7,20,6,46,1,49,6,19,12,14,31,14,13,40,26,17,27,12,2,16,47,13,41,3,12,9,35,31,23,10,10,13,25,31,19,0,35,46,20,34,3,30,40,23,34,44,32,7,34,2,40,2,33,34,22,22,7,1,47,21,27,30,6,9,21,28,3,0,0,41,32,46,44,16,8,28,47,37,44,41,15,47,49,16,34,24,43,15,16,6,8,30,20,40,34,20,16,32,0,10,13,2,15,4,13,13,25,7,15,46,39,23,3,13,19,33,16,29,21,11,15,31,41,27,21,9,28,30,30,21,27,19,45,29,35,1,47,21,48,48,41,5,37,34,8,21,16,4,34,16,42,7,37,17,46,12,22,26,24,15,4,24,20,13,18,9,44,39,22,38,37,42,14,36,49,15,49,25,19,30,21,14,31,48,33,48,11,7,20,13,1,31,47,16,47,43,12,33,13,32,18,44,38,45,34,18,22,27,15,15,5,39,20,45,18,2,37,13,33,18,14,25,0,29,34,48,47,26,2,4,26,12,29,0,30,39,38,27,31,16,34,15,1,29,18,39,29,11,47,35,40,39,34,23,41,33,31,33,20,48,49,27,42,10,49,48,37,7,25,15,5,16,46,24,41,5,15,21,3,25,7,12,10,10,30,47,18,4,32,22,27,49,26,30,13,28,39,36,17,0,21,12,31,32,40,10,43,42,37,46,45,27,47,1,46,29,35,21,33,36,1,6,33,22,31,6,43,35,7,18,39,9,22,25,0,4,48,19,39,3,3,37,22,8,19,11,43,4,12,26,44,25,37,43,45,2,16,22,13,48,33,19,17,12,20,4,43,22,42,2,14,0,25,33,30,28,34,24,11,6,38,1,4,26,0,25,22,33,12,4,27,16,4,7,13,49,28,8,23,17,12,49,14,47,12,10,2,0,41,23,38,26,6,45,45,9,13,43,0,26,6,12,34,13,30,26,6,32,2,47,28,27,42,5,28,9,39,15,48,17,26,39,28,14,29,43,32,31,32,18,0,46,13,37,43,10,29,3,6,36,43,3,36,46,15,23,34,12,30,34,0,34,5,22,24,27,31,31,23,9,41,14,14,46,12,20,10,33,7,34,34,23,3,28,45,40,4,37,41,48,2,7,29,15,30,17,9,39,49,6,37,24,10,22,22,33,41,19,24,40,14,2,22,42,36,33,19,2,0,22,46,23,46,15,17,46,25,24,1,29,25,4,22,18,24,44,15,43,44,20,36,35,1,22,39,37,2,7,20,22,46,3,46,39,14,37,29,32,18,3,14,10,5,49,46,24,8,32,33,6,19,5,34,14,6,42,12,1,39,21,16,12,11,39,25,38,28,6,31,6,42,18,49,45,19,4,1,36,13,15,10,18,38,7,19,8,29,48,44,40,17,32,6,31,47,6,18,35,30,31,12,9,3,11,36,27,22,16,40,2,48,9,28,31,0,38,29,42,24,36,23,44,17,22,17,28,48,2,19,42,24,25,42,6,9,36,41,43,4,15,15,0,4,38,38,13,46,17,34,38,1,43,5,28,27,37,14,40,11,23,8,27,43,12,7,44,14,32,47,29,49,19,12,48,6,16,7,16,26,27,31,32,38,14,23,4,24,32,25,43,3,46,22,7,36,1,44,8,45,4,2,18,24,29,7,31,31,26,29,44,22,4,40,42,6,9,13,18,14,24,15,6,11,5,42,31,16,23,40,36,23,45,32,27,42,40,33,25,6,45,24,42,33,47,35,48,46,22,32,34,41,46,39,31,21,26,11,21,1,30,9,18,37,20,8,37,26,31,0,47,13,7,2,23,23,11,16,2,20,24,31,39,32,8,8,33,45,20,34,36,6,43,33,43,37,33,25,35,1,39,43,30,21,47,8,26,35,18,21,10,14,29,1,18,47,28,16,4,26,30,2,11,5,46,44,28,26,47,24,49,33,43,44,35,24,16,3,11,38,6,14,29,12,1,46,15,42,12,23,48,35,28,28,20,29,24,48,13,18,6,12,13,48,5,42,4,39,42,49,49,33,6,40,0,26,30,1,28,5,47,48,0,9,3,39,1,41,14,1,5,33,31,19,11,39,14,2,19,43,14,13,9,3,40,41,5,1,39,16,45,49,14,19,18,35,35,32,5,36,49,30,39,46,33,6,39,40,45,41,30,0,45,5,40,21,43,6,29,29,7,12,26,26,37,30,39,17,45,3,25,4,16,5,2,12,2,8,49,10,8,2,40,37,25,30,16,41,12,4,26,35,40,2,12,35,34,35,20,10,49,38,10,2,23,12,5,41,20,37,3,38,20,2,35,35,24,29,29,41,28,9,0,9,26,21,30,42,19,12,20,1,3,21,13,27,18,6,11,47,41,43,35,28,46,8,40,22,42,6,35,40,13,10,14,11,32,38,14,49,2,37,29,12,32,47,4,10,41,36,18,29,33,16,18,12,38,7,1,24,36,6,20,42,25,10,7,27,22,0,49,33,28,12,2,9,28,32,28,39,5,6,7,11,21,2,4,47,16,4,9,22,36,31,24,32,25,7,0,1,1,32,19,28,42,27,15,6,44,47,17,16,39,14,3,40,29,40,15,2,25,44,23,29,37,40,1,39,33,33,45,14,25,21,31,43,29,43,12,16,3,13,42,5,24,5,14,35,36,34,19,49,4,14,15,27,34,30,9,43,21,45,23,36,35,34,30,7,20,49,14,37,49,49,10,26,41,37,1,41,16,17,14,43,30,29,22,46,5,3,21,18,0,14,41,11,2,12,45,9,21,13,17,28,42,11,22,44,37,36,15,30,26,2,19,4,36,26,33,31,24,2,45,36,1,33,13,25,46,27,46,11,6,28,16,18,26,43,24,45,3,30,11,40,14,43,37,26,49,1,11,47,6,40,21,35,21,36,47,17,44,43,18,39,12,46,19,4,30,32,27,38,46,37,14,5,44,13,44,16,29,15,47,30,40,4,19,45,35,48,20,15,35,2,35,38,27,43,11,39,2,42,28,1,24,23,44,8,0,33,25,19,35,32,40,15,5,2,9,4,32,16,8,25,2,44,42,43,43,27,22,29,39,34,39,42,8,12,11,10,18,36,24,44,33,37,33,0,0,10,25,26,28,14,14,10,49,3,22,15,4,9,14,27,5,26,31,47,33,21,21,22,12,27,33,16,49,15,20,1,33,44,28,46,24,43,31,11,19,46,19,44,10,15,28,16,18,44,42,7,28,30,46,20,38,22,37,4,33,4,39,7,11,18,11,28,39,26,5,4,42,33,16,19,1,23,39,19,10,28,7,35,37,14,32,22,39,48,28,21,4,13,42,30,31,34,48,35,22,16,45,49,49,1,32,25,1,0,48,27,29,7,29,15,37,36,34,23,45,13,43,27,18,14,27,18,44,7,15,6,32,42,8,6,7,9,33,41,46,40,17,31,10,19,8,18,29,28,1,40,1,14,49,15,28,21,22,25,42,14,28,13,41,15,6,6,38,3,36,1,2,23,11,22,20,13,44,26,25,27,16,30,45,18,29,23,0,24,22,12,3,40,21,38,18,27,41,46,32,2,0,9,21,24,11,11,2,46,44,1,44,41,24,2,40,16,34,30,9,3,24,29,44,11,43,9,31,47,31,19,26,38,12,45,25,2,25,26,27,11,9,25,24,36,24,11,28,41,33,47,38,15,23,48,15,31,17,37,14,27,11,13,39,19,0,3,35,4,38,19,15,10,9,46,41,0,21,3,29,41,36,10,17,44,15,44,4,37,10,20,3,42,34,38,44,36,1,33,30,27,17,19,40,11,12,9,9,36,36,47,48,31,0,26,41,27,17,10,46,48,22,21,5,23,44,2,39,3,9,2,16,4,45,41,36,23,20,46,41,26,25,12,49,20,36,5,15,43,44,32,22,26,22,49,28,41,31,25,7,48,28,45,25,10,14,36,31,5,24,24,4,44,3,23,33,32,8,29,43,21,3,40,19,45,0,30,32,31,15,46,10,11,28,40,19,30,9,17,44,37,17,39,21,22,0,40,23,29,49,33,17,7,28,30,16,37,21,0,11,34,41,6,5,40,12,14,24,46,46,37,6,25,4,23,9,38,3,24,25,11,3,38,19,18,2,43,6,24,21,1,40,16,27,5,48,49,5,34,7,15,20,15,10,27,13,29,5,36,30,17,31,38,26,47,37,35,24,39,32,39,1,5,5,26,49,35,22,39,1,19,6,23,34,23,17,23,31,34,11,15,2,29,18,45,23,6,30,42,27,35,24,26,28,13,25,24,25,4,11,34,48,31,14,30,16,2,36,3,46,38,15,25,13,28,28,34,49,6,36,12,2,48,28,28,33,26,37,31,46,42,48,9,34,33,31,2,44,18,39,48,39,42,29,16,17,21,25,15,7,3,45,25,18,20,10,42,41,13,48,2,8,0,49,9,0,40,35,41,42,18,43,36,9,2,22,43,23,7,45,42,2,16,33,48,29,15,48,28,37,19,40,25,23,1,38,26,16,3,3,6,40,1,29,37,5,17,11,36,41,34,47,33,31,1,30,13,39,26,24,6,35,21,27,46,0,40,13,48,14,17,25,42,35,17,35,39,21,19,42,7,21,9,49,26,31,37,18,18,3,29,36,32,41,32,23,10,5,18,1,5,16,9,39,0,20,46,17,49,40,5,32,29,15,1,43,28,5,11,44,10,25,31,0,23,20,37,47,7,9,45,5,11,25,25,3,48,21,43,36,34,16,3,1,5,11,17,31,13,40,31,8,49,13,6,20,40,36,27,48,22,49,48,38,27,18,39,28,33,5,31,37,26,21,37,41,37,16,15,28,11,10,38,3,43,22,12,27,1,35,26,8,48,22,9,21,14,40,8,42,13,44,23,28,23,22,1,18,34,26,9,39,21,24,43,4,10,24,23,9,46,12,49,15,30,48,37,35,33,43,45,5,35,49,6,30,12,17,37,0,32,2,32,8,29,22,45,31,17,28,24,33,28,2,22,16,11,30,39,2,46,38,39,43,47,1,34,21,1,10,32,38,1,20,17,40,7,27,29,35,10,11,11,42,14,13,36,44,32,13,33,37,39,35,33,44,43,11,48,43,30,23,16,29,24,22,30,20,35,31,16,13,23,30,37,13,27,19,38,44,43,40,20,28,18,27,22,36,36,22,21,46,49,16,14,37,5,13,30,24,34,48,29,21,42,28,43,26,25,22,44,17,4,44,1,21,32,13,36,36,20,27,35,24,47,8,19,29,48,35,11,22,21,25,6,13,42,9,43,10,8,18,40,40,36,2,41,18,20,34,9,46,41,17,15,3,15,11,3,48,43,12,48,9,48,41,7,9,5,9,33,24,28,6,41,42,15,36,5,31,6,24,37,0,7,23,44,43,42,23,3,16,36,33,16,2,27,3,11,34,8,33,44,3,35,49,34,35,42,36,8,30,30,37,18,19,2,7,31,9,28,29,24,46,22,19,32,30,49,31,46,7,38,0,14,18,36,2,32,46,37,11,27,1,21,24,47,5,44,18,23,4,33,41,23,23,13,14,14,42,26,46,40,10,5,25,4,26,35,28,44,1,14,35,19,34,25,41,44,41,35,40,23,23,34,26,26,24,32,18,34,49,8,3,32,28,15,7,21,13,36,49,26,29,29,8,10,32,46,44,22,13,20,17,0,38,3,28,2,24,25,8,47,24,12,32,0,7,32,6,8,25,16,46,1,12,38,4,39,29,18,37,43,16,7,46,15,6,13,40,37,28,5,9,15,42,9,34,20,23,18,5,8,27,11,6,25,41,13,14,34,4,24,39,27,14,35,23,46,34,21,0,37,42,7,48,39,45,24,32,29,9,25,28,23,38,14,3,27,43,47,15,1,26,4,48,25,22,14,19,3,24,43,30,23,26,29,2,24,48,34,13,7,22,25,17,49,4,26,45,38,43,46,5,6,42,12,16,15,14,43,25,3,8,33,14,47,7,35,18,29,29,19,25,13,31,39,16,11,25,36,25,15,11,22,46,45,9,47,44,1,40,39,14,49,45,35,9,23,37,45,37,10,18,3,8,45,16,16,16,8,2,35,32,9,4,3,44,30,31,5,13,1,15,43,27,0,15,8,41,28,0,28,39,46,24,43,29,41,40,41,38,27,22,15,14,15,12,42,41,33,29,14,1,30,5,20,25,36,37,1,24,12,8,29,13,18,42,8,49,16,10,19,28,7,28,0,30,16,29,48,43,13,6,48,42,35,28,15,45,2,38,40,14,31,30,36,40,0,38,21,12,9,30,23,3,31,9,1,27,46,10,6,45,35,48,9,16,13,11,39,24,30,1,36,16,28,21,0,18,43,45,5,15,4,18,46,1,7,44,31,9,21,29,47,30,6,34,35,19,24,30,26,12,48,21,4,30,10,23,42,37,38,35,21,19,12,47,49,31,38,47,36,19,9,37,14,39,16,44,41,20,9,48,48,38,40,18,7,41,6,26,26,2,18,48,6,13,35,26,8,46,36,32,7,42,7,32,1,19,30,46,7,13,10,30,6,4,5,4,32,22,12,33,6,43,17,35,21,26,30,22,20,11,11,35,2,29,27,26,33,2,31,13,26,13,6,38,13,47,2,10,33,40,27,43,46,23,48,30,39,0,45,18,28,0,2,30,8,21,6,14,32,43,10,47,5,21,49,31,2,5,4,6,47,23,30,23,21,40,9,36,30,41,23,40,27,13,1,0,11,3,26,7,18,36,41,1,11,20,27,32,2,47,2,45,41,47,34,43,7,15,15,21,16,47,41,9,5,42,9,38,30,28,2,36,48,22,48,49,20,17,26,46,30,49,7,34,22,27,31,23,40,42,35,42,18,11,10,0,15,30,22,34,12,34,19,20,16,37,6,19,12,21,25,1,36,1,26,35,14,37,15,19,48,0,42,35,24,15,46,26,3,10,16,20,38,49,36,39,26,34,23,14,25,2,35,49,17,17,22,49,32,15,49,29,45,47,15,31,11,15,23,30,9,38,26,47,9,9,44,38,32,16,23,14,3,32,44,0,27,16,9,29,39,28,27,40,47,27,3,0,38,37,7,42,14,8,36,37,39,4,2,28,16,4,14,15,31,36,42,14,48,27,2,6,37,11,49,22,13,41,34,48,27,41,39,28,45,5,35,47,39,24,13,23,49,8,38,17,17,24,20,18,29,38,27,38,32,23,47,24,25,46,43,5,34,7,23,40,16,33,34,17,46,22,5,32,0,12,12,1,31,7,3,39,24,6,44,34,18,2,41,27,49,19,9,27,11,46,18,15,48,15,42,21,18,48,5,30,9,32,26,45,21,7,35,48,4,12,27,0,14,26,45,39,8,14,14,0,29,32,22,33,25,14,41,41,22,43,10,12,26,28,23,43,27,40,41,33,35,45,25,11,47,4,32,2,35,21,20,1,25,4,28,48,34,38,18,1,35,23,17,34,29,28,24,14,7,37,2,20,19,26,15,33,17,18,10,42,3,43,34,37,42,25,35,3,37,19,25,34,33,19,47,40,34,7,23,34,21,21,28,14,20,14,4,39,23,9,12,42,7,30,45,10,14,27,16,27,41,29,11,11,30,11,15,24,37,35,15,13,2,45,45,28,11,10,49,12,29,6,39,21,17,47,18,35,34,44,21,14,31,33,28,10,7,2,16,5,30,16,16,26,44,25,6,17,26,47,25,13,9,47,27,31,2,13,47,1,13,45,40,3,32,10,19,15,19,3,41,9,35,29,7,39,49,3,47,47,44,15,28,9,42,16,5,30,31,43,29,25,47,11,1,6,44,1,2,4,13,48,43,13,7,26,37,27,4,4,23,47,39,35,24,19,1,32,20,4,43,49,0,41,7,4,31,47,24,16,17,44,20,4,24,11,23,35,38,13,21,17,31,8,20,16,22,49,25,1,36,2,39,14,37,37,27,33,41,46,10,12,47,44,37,31,34,27,24,6,25,36,48,48,40,10,23,17,16,47,48,25,1,7,4,35,31,27,14,20,36,40,30,13,7,28,8,26,29,46,13,37,5,4,36,7,45,4,32,33,22,33,11,17,34,43,15,43,12,15,39,39,16,4,23,34,30,12,1,43,31,17,14,45,43,1,15,4,42,13,2,32,48,42,45,31,16,0,28,34,25,41,30,22,0,16,38,11,23,8,48,17,21,40,4,25,29,19,7,29,23,16,36,16,14,40,43,9,36,11,0,23,41,13,33,35,9,26,44,3,23,25,39,41,11,11,9,25,0,4,48,5,37,4,28,47,17,45,21,23,1,44,39,24,9,36,15,1,39,25,30,41,36,33,40,48,41,13,37,16,37,13,37,31,42,44,8,40,19,20,2,22,25,13,19,12,20,30,7,22,5,14,3,2,9,24,13,24,25,30,36,23,13,10,13,35,2,28,8,19,33,34,25,2,33,22,32,20,21,30,13,46,45,4,8,46,3,9,0,16,39,21,6,43,46,5,36,24,25,26,19,12,3,30,36,39,5,27,20,35,43,7,49,4,43,48,5,49,35,8,48,11,13,39,43,25,46,30,4,44,23,35,35,2,46,3,47,49,27,35,6,25,21,23,19,8,45,45,0,36,34,18,13,45,44,9,35,45,22,6,18,37,49,39,12,38,45,31,34,26,11,12,18,13,38,37,32,33,12,21,18,17,49,2,37,0,38,10,22,47,34,34,8,0,11,37,45,1,31,15,36,41,29,21,16,8,19,12,41,17,19,43,37,6,11,10,48,43,42,0,21,42,23,42,31,43,38,24,48,18,18,49,45,26,5,38,5,38,46,26,17,2,45,31,28,28,31,38,42,1,39,43,14,46,18,9,36,12,10,27,9,9,49,2,14,36,49,20,27,15,26,20,37,26,23,17,39,32,5,45,28,4,16,15,46,16,41,26,35,17,23,34,37,26,20,2,32,6,11,4,3,13,38,9,46,0,12,22,46,48,26,14,22,3,2,10,41,19,46,30,21,47,30,11,18,45,29,36,46,28,44,25,34,12,28,37,16,10,15,23,12,28,33,45,1,13,0,22,35,8,28,23,5,27,34,16,6,36,0,26,21,26,10,18,10,36,0,28,12,43,49,29,43,35,14,20,2,16,16,23,1,10,47,27,38,7,31,2,12,3,43,49,40,39,41,1,14,44,12,5,42,38,0,7,42,19,12,15,33,28,32,45,44,24,25,37,12,18,46,6,17,15,10,11,28,32,15,42,31,29,38,7,20,27,33,9,29,10,32,29,13,14,18,48,28,22,11,33,39,8,45,32,39,19,3,11,22,1,25,8,39,28,0,24,30,43,13,44,39,19,14,7,47,43,3,26,20,37,47,27,48,18,38,1,10,46,31,45,21,20,42,4,45,45,12,37,11,9,34,7,45,43,28,42,48,37,21,22,8,40,34,40,17,10,15,49,37,49,36,42,1,18,17,4,46,0,43,11,13,25,17,10,24,11,18,43,17,33,2,8,8,40,44,9,25,3,7,40,44,30,20,17,26,6,32,37,29,15,12,29,29,15,0,25,43,21,1,12,45,49,33,2,37,24,22,41,16,8,9,23,38,49,46,18,18,12,32,45,1,27,1,11,15,34,0,13,32,39,34,44,8,41,13,37,10,2,47,45,26,21,11,29,24,29,19,28,25,32,48,44,38,24,1,14,12,12,24,32,18,48,39,41,8,15,1,35,35,21,26,32,34,49,7,19,34,35,33,19,20,28,16,32,26,28,26,26,19,2,36,25,28,11,48,12,36,35,23,44,21,14,44,31,41,20,44,13,33,24,45,16,26,0,44,9,4,8,0,47,34,21,22,18,24,27,2,10,46,2,29,28,33,49,18,11,32,23,42,21,28,8,31,12,29,34,35,17,20,31,17,22,5,47,15,41,33,41,33,22,3,8,17,35,17,17,10,21,49,28,1,45,3,26,7,30,14,1,30,9,8,31,3,34,4,45,20,9,27,14,14,21,30,12,0,43,21,42,10,19,48,5,39,49,23,40,14,10,37,41,20,12,20,27,44,42,41,28,14,10,38,5,46,18,31,43,6,25,40,31,38,12,23,29,49,20,35,24,13,11,40,42,43,47,32,11,43,37,30,5,15,30,35,22,31,21,2,8,30,18,33,8,48,3,20,15,22,25,26,8,41,42,49,5,20,31,26,40,10,48,19,6,10,5,17,14,7,16,20,10,1,31,5,11,2,5,45,25,26,14,9,20,34,7,24,0,11,34,47,6,38,34,41,33,13,27,19,21,35,25,1,49,22,33,41,25,36,13,27,30,26,7,21,14,21,41,23,13,4,48,1,3,16,7,44,8,38,47,36,7,13,39,47,13,30,12,31,21,28,43,28,13,27,8,36,11,46,14,28,32,36,32,20,2,11,6,32,3,12,26,10,39,0,19,34,37,28,27,18,36,37,45,29,8,8,18,18,18,34,17,11,16,38,22,31,32,38,8,5,12,27,22,49,44,30,11,5,45,25,10,32,1,47,0,14,18,40,12,33,26,37,22,27,17,18,37,10,28,39,38,11,5,12,27,20,16,12,16,16,10,15,35,45,37,14,2,21,12,15,38,6,21,8,23,46,41,13,26,39,7,22,2,15,42,38,20,22,47,26,32,1,7,14,24,41,48,31,14,28,13,46,33,26,0,4,44,9,41,38,24,15,49,6,39,38,44,18,47,24,23,23,32,44,38,11,43,26,44,37,18,1,36,21,23,21,29,43,38,26,14,47,39,1,13,10,49,34,34,4,24,16,40,31,37,8,35,9,6,8,23,1,27,20,35,19,31,37,49,47,39,1,23,16,12,9,48,49,13,31,10,7,19,28,34,26,6,32,22,9,29,26,4,24,38,47,10,3,20,3,39,16,34,21,30,26,4,49,49,24,37,17,41,32,8,34,14,7,41,23,23,48,17,24,6,2,13,19,32,49,1,44,11,44,41,47,35,1,21,36,47,42,7,22,22,32,21,47,35,49,37,41,21,46,48,5,13,21,27,33,25,6,33,29,30,5,37,31,6,34,39,43,2,26,21,18,11,12,20,48,25,28,11,34,47,26,28,22,16,1,47,16,16,30,46,32,16,43,23,29,46,1,5,28,25,21,7,40,26,46,26,48,28,33,7,42,7,7,15,38,47,7,40,35,6,14,0,14,24,49,16,26,27,27,44,28,3,15,20,9,4,11,6,45,19,19,20,10,43,18,48,30,48,7,28,29,16,8,30,9,41,21,9,0,49,2,23,1,44,49,14,36,29,13,5,4,7,43,13,24,29,4,15,33,45,14,31,20,24,7,21,38,31,22,1,31,5,18,9,24,4,21,28,33,40,46,43,45,37,20,34,5,37,25,37,15,26,29,39,4,36,23,4,32,17,28,17,22,13,3,41,44,2,21,47,8,28,10,8,43,7,11,33,36,0,10,14,2,38,14,15,35,8,24,32,30,0,33,38,39,43,25,12,42,0,44,33,32,1,41,28,23,12,10,26,44,44,0,42,8,42,42,11,15,21,46,16,3,37,18,48,36,27,0,41,35,26,9,21,37,25,35,23,40,23,38,41,25,39,21,36,1,38,4,49,9,0,23,26,40,12,36,45,0,3,8,18,29,41,20,21,11,37,20,37,11,22,25,30,5,39,3,31,48,38,16,5,34,27,46,28,25,17];
  const asUnique = (acc, curr) => acc.includes(curr) ? acc : (acc.push(curr), acc);

};
</script>

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
reduce push
a.reduce((acc, curr) => (!acc.includes(curr) && acc.push(curr) && acc || acc), [])
pending…
pre-prepared reduce
a.reduce(asUnique, [])
pending…
spread set
[...new Set(a)]
pending…
object based
d={}; a.forEach(function(x) { d[x]=true; }); Object.keys(d);
pending…
filter self
a.filter((curr, i, self) => self.indexOf(curr) === i)
pending…
reduce concat
a.reduce((acc, curr) => (!acc.includes(curr) ? acc.concat(curr) : acc), [])
pending…
filter
a.filter((curr, i) => a.indexOf(curr) === i)
pending…
reduce spread
a.reduce((acc, curr) => (!acc.includes(curr) ? [...acc, curr] : acc), [])
pending…
from new set
Array.from(new Set(a))
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL.

0 Comments