first commit

This commit is contained in:
ISA
2024-04-15 10:37:53 +02:00
commit afee410333
736 changed files with 110561 additions and 0 deletions

18
public/js/list.js Normal file
View File

@@ -0,0 +1,18 @@
var test = ["hase","ente","ente","igel","hase","ente","ente","igel"];
// doppelte Löschen
function doublesDelete(listing) {
let temp = [];
listing.forEach((c) => {
if (!temp.includes(c)) {
temp.push(c);
}
});
return temp;
}
var testreturn = doublesDelete(test);
console.log(testreturn)
// html Liste erstellen