lydiahallie / javascript-questions

A long list of (advanced) JavaScript questions, and their explanations :sparkles:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Que No 123

bafna-hitesh opened this issue · comments

Output of the code is -> 4 5 6 and 15, because we invoked the add function which returns the sum value.

@bafna-hitesh Actually the output 4 5 6 is correct as we are not printing the sum of three numbers, we are just printing the three given numbers and then returning the sum.