title: Create a unique ID for each element of array with JavaScript?
body: <p>I have a use case where I want to assign unique ids to each element of array while iterating over it. Note, This array contains duplicate values. I want to use index as a key in react element, but linter rules do not allow me to use index as a key.</p>
  <p>I thought of using System tics. Is there a way I can get system ticks so that on every instruction execution, I get a new value?</p>
  <p>If yes, what is the recommended precision?</p>