you are viewing a single comment's thread
view the rest of the comments
[–] 14 points 2 years ago (2 children)
function is_equal (x, y) {
  if (x == y)
      print("x is equal to y")
      return true;
  return false;
}
  • source
  • hideshow 4 child comments
  • [–] 1 point 2 years ago* (1 child)

    Wouldn’t this fail to compile due to the missing semicolon, and if that is corrected only ever return true?

  • source
  • parent
  • hideshow 2 child comments