Tag: looping statement

  • [Javascript] Controlling code flow (1)

    [Javascript] Controlling code flow (1)

    Controlling code flow Conditional statement When controlling the flow of our code, we have several options. If we want to execute different blocks of code based on certain conditions, we can use if-else statement. These statements allow us to specify which code block should be executed based on carefully defined conditions. Below, we see see…