@JoshPalmeri, Front End Developer
Stony Brook University
http://slides.com/palmerijosh/outc16
joshua.palmeri@stonybrook.edu
</>
var x = dog.didTrick();
if (x) {
dog.giveDogTreat();
}
var k = kid.obeyedMom();
if (k) {
kid.giveReward();
}
var k = kid.obeyedMom();
if (k) {
kid.giveReward();
} else {
kid.obeyMom();
}
var x = $('.my-element').length;
if (x==0) {
do('this');
} else {
do('that');
}
if (you.user) {
}
you.user = true;
if (you.user) {
}
you.user = true;
if (you.user) {
think('bad_customer_experience');
}
Now, go make something great.
@JoshPalmeri, Front End Developer
Stony Brook University
joshua.palmeri@stonybrook.edu
http://slides.com/palmerijosh/heweb15-dir