【lodash源码】_.startsWith()
函数检查字符串是否是目标字符开始的/** * Checks if `string` starts with the given target string. */function startsWith(string, target, position) { const { length } = string position = position == null ? 0 : ...
原创
2019-03-25 15:59:15 ·
572 阅读 ·
0 评论