How to reduce cognitive complexity of a function?
The cognitive complexity of a function increases if:   There are multiple nested structures (like “if...
Tags: javascript, typescript, codequality, codereview