Skip to main content

diffArrays

Difference between two arrays.

Usage

import {diffArrays} from "lulinjs";

const result = diffArrays([1, 2, 3], [2, 3]);
// Output: [1]
Live Editor
Result
Loading...