by jcampbell1 · 6y ago · 0 comments
It is for sure making max use of dynamic programming. Typescript accepts it as {[path as any]: payload} which is pulling ejection lever on typescript.
Glad I learned something new from this.
const obj = {};
obj[foo] = 10;