mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Bump to v4.12.0.
This commit is contained in:
2
split.js
2
split.js
@@ -28,7 +28,7 @@ var nativeSplit = stringProto.split;
|
||||
* @param {string} [string=''] The string to split.
|
||||
* @param {RegExp|string} separator The separator pattern to split by.
|
||||
* @param {number} [limit] The length to truncate results to.
|
||||
* @returns {Array} Returns the new array of string segments.
|
||||
* @returns {Array} Returns the string segments.
|
||||
* @example
|
||||
*
|
||||
* _.split('a-b-c', '-', 2);
|
||||
|
||||
Reference in New Issue
Block a user