Get JSON Value with Dynamic Key in TypeScript
Small and hopefully helpful snippet.
Problem Scenario
We have Car data in JSON with an on going updates. modelyear will be added regularly. We wanted to output model description base on year input by user on a form.
Solution
Convert input to key for ...
netic.hashnode.dev1 min read