function uniqueArray4(a) {
  return [...new Set(a)];
}