Beta
Sum Only Numbers
240merelj
Description:
It has to return the sum of all numbers passed as arguments (however many are provided). If no numbers are provided as arguments it must return 0. If 1 number is provided as an argument that number must be returned. If anything other than a number is provided as one or more of the arguments, it must be ignored. Example:
sumNumbers() // 0
sumNumbers(1, 2) // 3
sumNumbers(4, 5, '6') // 9
Fundamentals
Similar Kata:
Stats:
Created | May 4, 2018 |
Published | May 4, 2018 |
Warriors Trained | 385 |
Total Skips | 40 |
Total Code Submissions | 676 |
Total Times Completed | 240 |
JavaScript Completions | 240 |
Total Stars | 2 |
% of votes with a positive feedback rating | 81% of 151 |
Total "Very Satisfied" Votes | 107 |
Total "Somewhat Satisfied" Votes | 32 |
Total "Not Satisfied" Votes | 12 |
Total Rank Assessments | 147 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 8 kyu |