Last active
December 3, 2020 12:32
-
-
Save jayhan1109/4ed1b0792fa58b4e412efb4165539dca to your computer and use it in GitHub Desktop.
JS Reduce function
This file contains 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 parts = [ | |
{ | |
name: "Fundamentals of React", | |
exercises: 10, | |
}, | |
{ | |
name: "Using props to pass data", | |
exercises: 7, | |
}, | |
{ | |
name: "State of a component", | |
exercises: 14, | |
}, | |
]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment