Map/Set to maintain unique array of arrays, Javascript

Published --