Move base-select into base

This commit is contained in:
Darko Gjorgjijoski
2025-08-28 12:02:39 +02:00
parent 70bfe1b688
commit 697c1af065
72 changed files with 77 additions and 77 deletions

View File

@@ -0,0 +1,7 @@
export default function arraysEqual (array1, array2) {
const array2Sorted = array2.slice().sort()
return array1.length === array2.length && array1.slice().sort().every(function(value, index) {
return value === array2Sorted[index];
})
}