Underscore.js _.uniqueId() Function
_.uniqueId( prefix )
Parameters: It accepts a single parameter as mentioned above and described below:
- prefix: It is the prefix that would be appended to the id It is am optional parameter.
Return Value: This method returns a globally unique id.
gfG_1 Geeks_2 CS_3
1 2 3 4 5 6