liriliri / licia

Useful utility collection with zero dependencies
https://licia.liriliri.io
MIT License
2.29k stars 158 forks source link

Fix: safeGet not work in object with array #4

Closed julyL closed 7 years ago

julyL commented 7 years ago

添加safeGet函数对对象中有数组时取值的支持

surunzi commented 7 years ago

Eslint检查没通过

julyL commented 7 years ago

不知道为啥Eslint会报无效的转义,不转义的话结果就是错的,只能先关闭配置了。

surunzi commented 7 years ago

已支持对数组的取值