Javascript If Else And Try Catch As Functional Constructs

Javascript If Else And Try Catch As Functional Constructs