 Bosala déclaration conditionnelle na JavaScript.
Déclaration conditionnelle na JavaScript epesaka programmeur nzela ya ko exécuter bloc spécifique ya code oyo esalemi na ba conditions mosusu. Lolenge oyo emonanaka mingi ya maloba ya kondima ezali maloba "soki...esusu". Tala ndakisa: ``` tika température = 25; soki (temperature > 30) { console.log('Ezali molunge libanda'); } else if (temperature < 0) { console.log('Ezali kokangama libanda'); } else { console.log('Ezali malamu libanda'); } ``` Na ndakisa oyo ezali likolo, code e vérifier variable ya température, pe soki eleki 30, console ekomaka "Ezali moto libanda". Kasi, soki température ezali na se ya 0, console ekomaka "Ezali congelé libanda". Soki moko te ya ba conditions oyo ekokisami, console ekokoma "Ezali confortable libanda".