JS Functions

problem 3 not solved yet