Foo Bar? HAHA! anyone else?

Foo Bar? HAHA! anyone else?
0.0 0

#1

Tell us what’s happening:

not help, but did anyone else pick up the Foo Bar (FUBAR) reference in the example haha!
good one

Your code so far

function orderMyLogic(val) {
  if (val < 10) {
    return "Less than 10";
  } else if (val < 5) {
    return "Less than 5";
  } else {
    return "Greater than or equal to 10";
  }
}

// Change this value to test
orderMyLogic(7);

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36.

Link to the challenge:


#2

Yeah, foo and bar (and strangely baz) are common programming generic placeholder names. I often wonder how many people remember what “fubar” means and probably even fewer remember what it stands for.


#3

Haha Its funny because it was relevant to that particular challenge.