buttons to release all provinces and regenerate culture name

This commit is contained in:
Azgaar 2021-11-07 18:57:52 +03:00 committed by Peter
parent 86e3a5147e
commit c7dc0c19d2

View file

@ -58,3 +58,7 @@ function createTypedArray({maxValue, length, from}) {
if (!from) return new typedArray(length); if (!from) return new typedArray(length);
return typedArray.from(from); return typedArray.from(from);
} }
function unique(array) {
return [...new Set(array)];
}