Generating Unique Strings (Ids) in JavaScript

Well, there are tools in JavaScript that allow you to create unique ids or strings. I will be using to two ideas to create these unique strings. Method 1: Memoization The idea is to generate some random string and checking if it has already been generated the recursively generate another one and test again. If … Continue reading Generating Unique Strings (Ids) in JavaScript

Advertisements