JavaScript에 Object.map()
같은 함수 하나 있었으면 좋겠다. 맨날 Object.fromEntries(Object.entries(obj).map(...))
하기 귀찮다. (게다가 TypeScript에서 타입도 보존이 안 되어서 as
키워드 써야 함…)
@hongminhee@hackers.pub洪 民憙 (Hong Minhee) 저는 https://remedajs.com/에 모든 걸 의존하고
R.mapValues(obj, f)
하고 있어요.
If you have a fediverse account, you can quote this note from your own instance. Search https://stella.place/notes/a6bgw4445x on your instance and quote it. (Note that quoting is not supported in Mastodon.)