mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 19:07: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 />
|
<br />
|
||||||
Generate a globally-unique id for client-side models or DOM elements
|
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.
|
that need one. If <b>prefix</b> is passed, the id will be appended to it.
|
||||||
|
Without <b>prefix</b>, returns an integer.
|
||||||
</p>
|
</p>
|
||||||
<pre>
|
<pre>
|
||||||
_.uniqueId('contact_');
|
_.uniqueId('contact_');
|
||||||
|
|||||||
Reference in New Issue
Block a user