Lodash introduced a lot of pretty bad concepts, let's all agree on that much, and this challenge is the fallout from one of them. It's something we've seen before in the challenges to deal with the string interpolation syntax for object indexing.. but it's still just as bad as it was before. At least this time there are some fun/helpful refactors to do.
00:00 description of the challenge
02:00 attempt at a solution
02:54 all tests pass
09:07 alternatives
You can view the code for this challenge on GitHub: https://github.com/type-challenges/ty.... You can also view the umbrella issue with code for all the challenges we've solved here: https://github.com/type-challenges/ty...
A new challenge posts every day from January 1st 2023 to May 20th 2023. If you’d like to join in solving them, please email us at: [email protected]
Discord: / discord
Twitter: / mitypescript
Mastodon: https://fosstodon.org/@MichiganTypeSc...
Instagram: / michigantypescript
TikTok: / michigantypescript