9
iRobot
8y

var myLove =0;
var myLife = 'you';

if(yourHeart =='Me'){
myLove =+1;
else {
myLife = null;
myLove = undefined;
}

Comments
  • 2
    I'd say,
    me.hasOwnProperty(yourHeart)
  • 3
    Unfortunatly, this love story ends up too quickly. A missing bracket and an undefined heart :/
  • 0
    @Robbatron Typescript can help in that case :)
  • 0
    @Robbatron yes it's sometimes more confusing than helping when you don't understand javascript well...
Add Comment