Javascript – Sum solution [closed]

You should take a look at JavaScript’s built-in functions: With split you can split your string into an array, with reduce you can ‘reduce’ your array to a single value, in that case via summation. These two links should provide you enough information for building your code.

Leave a Comment