The function consistently returns "undefined" as the output, irrespective of the inputs provided.

