Membuat banyak metode dari daftar kata
let rando = {};
let items =["first", "second", "third", "fourth"];
for(const item of items)
{
rando[item] =()=>{
console.log(item);
}
}
rando.first();
rando.second();
Javasper