<prompt> Kujenga taarifa ya masharti katika JavaScript.  <response>: A conditional statement in JavaScript allows a programmer to execute a specific block of code based on certain conditions. The most common form of a conditional statement is the if...else statement. Here is an example:let temperature 25;if temperature 30 console.logIt is hot outside; else if temperature 0 console.logIt is freezing outside; else console.logIt is comfortable outside;In the example above, the code checks the temperature variable, and if it is greater than 30, the console logs It is hot outside. However, if the temperature is less than 0, the console logs It is freezing outside. If neither of these conditions is met, the console logs It is comfortable outside. 