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
// this function allow us to build an array / list of objects that contain common props and props that are generated dynamically | |
const numberOfIterations = 10 | |
const commonProps = { | |
propA: 1, | |
propB: 2 | |
} | |
// ------- | |
// -- 1 -- |