• 1405/04/20

جواب تمرین else if تک خطی :

fName = "mohammad";

fName === "ali"
? console.log("hello ali")
: fName === "mohammad"
? console.log("hello mohammad")
: console.log("hello to other");


سلام با تشکر از آموزش عالی 

logo-samandehi