Static loop to use in React - JSX.
[...Array(5).keys()].map((question, index) => { return ( /* HTML/JSX here */ ) })