mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Fix style nits.
This commit is contained in:
@@ -10,11 +10,11 @@ import baseIndexOf from './_baseIndexOf.js';
|
||||
* @returns {number} Returns the index of the first unmatched string symbol.
|
||||
*/
|
||||
function charsStartIndex(strSymbols, chrSymbols) {
|
||||
let index = -1;
|
||||
const length = strSymbols.length;
|
||||
let index = -1;
|
||||
const length = strSymbols.length;
|
||||
|
||||
while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
|
||||
return index;
|
||||
while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
|
||||
return index;
|
||||
}
|
||||
|
||||
export default charsStartIndex;
|
||||
|
||||
2
each.js
2
each.js
@@ -1 +1 @@
|
||||
export { default } from './forEach.js'
|
||||
export { default } from './forEach.js';
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from './forEachRight.js'
|
||||
export { default } from './forEachRight.js';
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from './toPairs.js'
|
||||
export { default } from './toPairs.js';
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from './toPairsIn.js'
|
||||
export { default } from './toPairsIn.js';
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from './assignIn.js'
|
||||
export { default } from './assignIn.js';
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from './assignInWith.js'
|
||||
export { default } from './assignInWith.js';
|
||||
|
||||
Reference in New Issue
Block a user