fluency with information technology info100 and cse100 katherine deibel 2012-04-30katherine deibel,...
TRANSCRIPT
Welcome to FIT100
JavaScript LogicConditionals, Branches, Tests Oh My!Fluency with Information TechnologyINFO100 and CSE100Katherine Deibel2012-04-30Katherine Deibel, Fluency in Information Technology1JavaScript So FarPlain text instructions for dynamic pagesIn = "Bob" false"Alice" == "Alice" "Alice" == "alice" "Alice" >= "Alice" 2012-04-30Katherine Deibel, Fluency in Information Technology31truefalsetrueSummaryConditional statements allow us to execute some statements and not othersThe test is enclosed in parenthesesWe always use compound statements to group the operations of conditional statements properlyA compound statement is just a bunch of statements inside of { } DO NOT follow it with a ;2012-04-30Katherine Deibel, Fluency in Information Technology32