🚀 faster solution

This commit is contained in:
platane
2020-10-14 22:03:50 +02:00
committed by Platane
parent fe821f6251
commit 8f5c1969a6
9 changed files with 279 additions and 557 deletions

View File

@@ -0,0 +1,2 @@
export const arrayEquals = <T>(a: T[], b: T[]) =>
a.length === b.length && a.every((_, i) => a[i] === b[i]);