From a5676c99bcf0c67c1238e29cf4e606b14adf1145 Mon Sep 17 00:00:00 2001 From: Cool-Katt Date: Wed, 15 Jan 2025 14:55:26 +0200 Subject: [PATCH] Fixing copy/paste error --- exercises/practice/anagram/anagram.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/anagram/anagram.test.ts b/exercises/practice/anagram/anagram.test.ts index 239ceeede..a075dbe9c 100644 --- a/exercises/practice/anagram/anagram.test.ts +++ b/exercises/practice/anagram/anagram.test.ts @@ -1,7 +1,7 @@ import { describe, it, expect, xit } from '@jest/globals' import { Anagram } from './anagram.ts' -let areSetsEqual = (setA, setB) => +const areSetsEqual = (setA, setB) => setA.size === setB.size && [...setA].every((val) => setB.has(val)) describe('Anagram', () => {