I’m wondering how the computer is getting 5 + 4 to equal 10???
Hi, @mycatisloud! Welcome to the forums
Your sumNumbers
function is taking only one parameter, number
. Then it will return the result of adding number
to itself once. I’m assuming it’s taking the 5 as the argument and therefore it prints 10 (since it’s just adding 5 + 5)
Hope this helped
3 Likes
oooh, thanks. makes sense now
2 Likes
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.