Just load the package by importing it
require('array-equals');
[1,2,3].equals([1,2,3]) // true
[1,2,3].equals([4,5,6]) // false
Works with Typescript!
import 'array-equals';
[1,2,3].equals([1,2,3]) // true
[1,2,3].equals([4,5,6]) // false
Just load the package by importing it
require('array-equals');
[1,2,3].equals([1,2,3]) // true
[1,2,3].equals([4,5,6]) // false
Works with Typescript!
import 'array-equals';
[1,2,3].equals([1,2,3]) // true
[1,2,3].equals([4,5,6]) // false