diff
Create an array of differences between two arrays
209 bytes
since v12.1.0
Usage
Given two arrays, returns an array of all items that exist in the first array but do not exist in the second array.
import * as _ from 'radashi'
const oldWorldGods = ['ra', 'zeus']const newWorldGods = ['vishnu', 'zeus']
_.diff(oldWorldGods, newWorldGods) // => ['ra']