CodeFights – Add

A function that adds two numbers.


For param1 = 1 and,  param2 = 2 the output should be
add(param1, param2) = 3.

This function takes the two params and returns an answer without the need to create an additional variable.


Leave a Reply

Your email address will not be published. Required fields are marked *