Guest User

Untitled

a guest
May 8th, 2020
47
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     var taskArray = [];
  2.     for (var i = 0; i < 10; i++)
  3.     {
  4.       taskArray.push(<Task value={"test" + i} key={i} />)
  5.     }
  6.     return (
  7.       <div>
  8.         {taskArray}
  9.       </div>
  10.     )
RAW Paste Data