mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Merge pull request #444 from mark-rushakoff/uniqueid-doc
Clarify docs: return value of uniqueId
This commit is contained in:
@@ -1278,6 +1278,7 @@ _("fabio").capitalize();
|
||||
<br />
|
||||
Generate a globally-unique id for client-side models or DOM elements
|
||||
that need one. If <b>prefix</b> is passed, the id will be appended to it.
|
||||
Without <b>prefix</b>, returns an integer.
|
||||
</p>
|
||||
<pre>
|
||||
_.uniqueId('contact_');
|
||||
|
||||
Reference in New Issue
Block a user