How to initialize all members of an array to the same value in typescript?
<p>In C Language int myArray[42] = { 0 }; initialises all the values of the array to 0 at the start. Is there any similar way that we can do in typescript?</p>