Created
September 11, 2020 15:18
-
-
Save jasonleehodges/4c43ca8aa26213a5c189cbddceb9e08f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const numbers: number[] = [3, 5, 7, 9, 12]; | |
let accumulator: number = 0; | |
numbers.forEach((number: number) => { | |
accumulator += number; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment