else conditions question

Discussion in 'JavaScript' started by gobbly2100, Sep 30, 2007.

  1. #1
    Hey,

    When you are adding an "else" statement am I right in thinking that you do not add any conditions to this right?
     
    gobbly2100, Sep 30, 2007 IP
  2. GTAce

    GTAce Notable Member

    Messages:
    1,389
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Right..."else" includes anything and everything that doesn't fall in the previous "if" or "if else" statements
     
    GTAce, Sep 30, 2007 IP
  3. gobbly2100

    gobbly2100 Banned

    Messages:
    906
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Cool, thanks!
     
    gobbly2100, Sep 30, 2007 IP