A Business Name generator using javascript with sigma web development

A business name generator using just 3 combination you can make lots of combo by providing thousands of word of 

// create a business name generator by combining list of adjectives and shop name and another words;


/*
adjectives:


shop name



*/
//generate random number
let random1 = Math.floor(Math.random()*3);
console.log(random1)
adjectives= {
    0:"Crazy",
    1:"Amazing",
    2:"Fire"
}
let desiredVal1
for(let adj in adjectives){
    //comparing value of object with random number and saving it to a variables
    if(adj==random1){
    desiredVal1 = adjectives[adj];
    break;
    }
}
console.log(desiredVal1)
let random2 = Math.floor(Math.random()*3);
console.log(random2)
ShopName={
    0:"Engine ",
    1:"Foods",
    2:"Garments"
}
let desiredVal2
for(let shop in ShopName){
    if(shop==random2){
    desiredVal2 = ShopName[shop];
    break;
    }
}
console.log(desiredVal2)

let random3 = Math.floor(Math.random()*3);
console.log(random3)
AnotherWords={
    0:"Bros",
    1:"Limited",
    2:"Hub"
}
let desiredVal3
for(let word in AnotherWords){
    if(word==random3){
    desiredVal3 = AnotherWords[word];
    break;
    }
}
console.log(desiredVal3)
let businessName = "your business name is "+desiredVal1+" "+desiredVal2+" "+desiredVal3+"."
console.log(businessName)

Comments