This commit is contained in:
Karan
2021-11-25 19:52:34 +05:30
committed by GitHub
parent 60da2a48af
commit 7a8ea8d25b
-15
View File
@@ -1,15 +0,0 @@
const adj = ["super", "wonderful", "bad", "angry", "careful"];
function myFun() {
const question = prompt("what is your name?");
const nameAdj = Math.floor(Math.random() * adj.length);
console.log(adj[nameAdj] + " " + question );
}
myFun();