One of the coolest features added in just announced TypeScript 3.7 is optional chaining syntax. It promises a much shorter and more readable code f...
For further actions, you may consider blocking this person and/or reporting abuse
Really interesting take on this. I never thought about performance but it’s quite some insight that you provided there. Thanks for sharing 👍
had a little fun with that dlv function:
const dlv=(o,k,d,u)=>(k.split?k.split('.'):k).reduce((r,v)=>(o=r?r[v]:u,o),o)===u?d:o;
Nice! Did you test, how fast is it? :D