Get the difference between two arrays

PHOTO EMBED

Wed Sep 27 2023 16:25:18 GMT+0000 (Coordinated Universal Time)

Saved by @Paloma

function arrayDiff(a, b) {
  return a.filter(x => !b.includes(x))
}
content_copyCOPY