mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 19:37:49 +00:00
Minor _.modArgsSet doc example tweak. [ci skip]
This commit is contained in:
@@ -7633,14 +7633,14 @@
|
|||||||
* @returns {Function} Returns the new function.
|
* @returns {Function} Returns the new function.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
* function multiply(x, y) {
|
|
||||||
* return x * y;
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* function divide(x, y) {
|
* function divide(x, y) {
|
||||||
* return x / y;
|
* return x / y;
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
|
* function multiply(x, y) {
|
||||||
|
* return x * y;
|
||||||
|
* }
|
||||||
|
*
|
||||||
* var modded = _.modArgsSet(function(x, y) {
|
* var modded = _.modArgsSet(function(x, y) {
|
||||||
* return [x, y];
|
* return [x, y];
|
||||||
* }, multiply, divide);
|
* }, multiply, divide);
|
||||||
|
|||||||
Reference in New Issue
Block a user