##Leap My code: here
-
Responder #1 (here) - This person used a single line return statement. I like how clean it is.
-
Responder #2 (here) - This person used a single if/else block.
-
Responder #3 (here) - This person used 3 different if blocks. I dont think the code reads well because none of the blocks close an is based on the idea that returns break code.
-
Responder #4 (here) - This person uses a nest if statement. It looks clean and I feel like I dont know enough about JS to refute that method.