Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

Commit 148ac93

Browse files
committed
Correcting typo.
1 parent fe61bea commit 148ac93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

largest-continuous-sum/largest-continuous-sum.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
largestContinuousSum = (array) ->
22
return if !array or !array.length
33

4-
currentSum = maximumSum = array.unshift()
4+
currentSum = maximumSum = array.shift()
55

66
# Checks the array of sums and compares them
77
array.forEach (num) ->

0 commit comments

Comments
 (0)