UNPKG
codetrix
Version:
latest (1.6.0)
1.6.0
1.5.0
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
A lightweight lodash-style utility library
shivanshujags.github.io/codetrix/
shivanshujags/codetrix
codetrix
/
dist
/
__tests
/
array
/
difference.test.js
7 lines
(6 loc)
•
201 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
{ difference }
from
"../../array"
;
describe
(
'difference'
,
() =>
{
it
(
'returns values in arr1 not in arr2'
,
() =>
{
expect
(
difference
([
1
,
2
,
3
], [
2
,
3
,
4
])).
toEqual
([
1
]); }); });