Ad
  • Default User Avatar

    i got a similar solution to this but found that it would divide 'a' and 'b' if you put anything other than the other three operators instead of 'divide' 🤷🏻‍♂️
    Put 'auntSally' there and it will divide 'a' and 'b'.
    when I continued with 'divide' in the ternery the function wouldn't work so i used a 'switch' statement.
    surprised there are no tests in there to find this fault

  • Custom User Avatar

    As someone new to this, I definitely appreciate that perspective. = )