This commit is contained in:
Klemek
2023-08-29 16:44:24 +02:00
parent 5e81b9520e
commit 4bbf752bfc
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -32,6 +32,9 @@ const utils = {
},
shuffle: function (array) {
const output = [...array];
if (output.length < 2) {
return output;
}
for (let i = 0; i < array.length; i++) {
const i1 = this.randindex(array);
const i2 = this.randindex(array, i1);
@@ -62,6 +65,9 @@ let app = {
currentYear() {
return new Date().getFullYear();
},
urlLength() {
return window.location.toString().length;
},
},
methods: {
showApp() {