✏️ 编辑:_charsEndIndex.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/lodash/_charsEndIndex.js
大小:600 B · 修改:2022-11-21 20:09:38 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
var baseIndexOf = require('./_baseIndexOf'); /** * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol * that is not found in the character symbols. * * @private * @param {Array} strSymbols The string symbols to inspect. * @param {Array} chrSymbols The character symbols to find. * @returns {number} Returns the index of the last unmatched string symbol. */ function charsEndIndex(strSymbols, chrSymbols) { var index = strSymbols.length; while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} return index; } module.exports = charsEndIndex;
💾 保存
取消
保存为 UTF-8,换行统一为 LF