Lil Toby Blog

不斷筆記,不斷前進

Lodash 筆記

各種組合技紀錄

情境用法 字串拿掉 ```javascript const text = "azertyazerty"; const result = _.replace(text, /az/g, "qu"); ``` 找尋 array 是否存在這個item > 回傳boolean _.includes(<array>,&l