9033 / coding_programming

coding programming of problems
MIT License
0 stars 0 forks source link

lodash (javascript) #14

Open 9033 opened 3 years ago

9033 commented 3 years ago

object에서 값이 null이나 undefined인 키 제거

obj = _.pickBy(obj) 혹은 obj= _.omitBy(obj, _.isNil)