mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Remove references to _.
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
* or `undefined`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.14.0
|
||||
* @category Util
|
||||
* @param {*} value The value to check.
|
||||
@@ -12,10 +11,10 @@
|
||||
* @returns {*} Returns the resolved value.
|
||||
* @example
|
||||
*
|
||||
* _.defaultTo(1, 10);
|
||||
* defaultTo(1, 10);
|
||||
* // => 1
|
||||
*
|
||||
* _.defaultTo(undefined, 10);
|
||||
* defaultTo(undefined, 10);
|
||||
* // => 10
|
||||
*/
|
||||
function defaultTo(value, defaultValue) {
|
||||
|
||||
Reference in New Issue
Block a user