Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Sum Numbers by vyankovs
import assert from "assert";
function sumNumbers(test){
let count = 0;
test.split(" ").map(a=>+a).forEach(x => {if(!isNaN(x))count +=x});
return count;
}
April 29, 2020
Comments: