10 days of HackeRank's challenges : Day 1

Question: Simple Array Sum.

Given an array of integers, find the sum of its elements.

Function description

  • Takes a parameter, which is an array of integers.

  • Returns sum of array elements as an integer.

Below is a link to my GitHub repo containing the solution with file name dayOne.js

github.com/Beri28/10-days-of-code/blob/main..