File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1+ import { assertEquals } from "https://deno.land/std@0.203.0/assert/assert_equals.ts" ;
2+ import forEachPair from "./for_each_pair.ts" ;
3+
4+ Deno . test (
5+ 'Remove duplicates from array.' ,
6+ async ( test ) => {
7+ await test . step ( {
8+ name : 'Empty array' ,
9+ fn : ( ) => {
10+
11+ }
12+ } )
13+ }
14+ )
Original file line number Diff line number Diff line change 11/**
22 * This function calls the specified `pairFunction` for all the elements in an array. The function
3- * starts with the second element and calls the `pairFunction` for every element. If the array only
4- * contains one element , the `pairFunction` does not get called.
3+ * starts with the second element and calls the `pairFunction` for every element. If the array
4+ * contains less than two elements , the `pairFunction` does not get called.
55 *
66 * @example
77 * ```ts
You can’t perform that action at this time.
0 commit comments