Typescript : How do you clear an array?


Answer :  this.cities.length = 0, given this.cities is your array.


Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm