SOURCE

// 测试  startsWith

let str = "/f/app1/2323"
console.log(_.startsWith(str,"/f"))
console.log(_.startsWith(str,"/f/app1"))
console.log(_.startsWith(str,"f/app1"))
console 命令行工具 X clear

                    
>
console