mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import baseIndexOf from './baseIndexOf.js';
|
||||
import baseIndexOf from './baseIndexOf.js'
|
||||
|
||||
/**
|
||||
* Used by `trim` and `trimEnd` to get the index of the last string symbol
|
||||
@@ -10,10 +10,10 @@ import baseIndexOf from './baseIndexOf.js';
|
||||
* @returns {number} Returns the index of the last unmatched string symbol.
|
||||
*/
|
||||
function charsEndIndex(strSymbols, chrSymbols) {
|
||||
let index = strSymbols.length;
|
||||
let index = strSymbols.length
|
||||
|
||||
while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}
|
||||
return index;
|
||||
return index
|
||||
}
|
||||
|
||||
export default charsEndIndex;
|
||||
export default charsEndIndex
|
||||
|
||||
Reference in New Issue
Block a user