Javascript – Warning Function 'getPositionValue' has a complexity of 7. Maximum allowed is 5
I am trying to get rid all of the warnings in my project, but i stumbled onto "warning Function 'getPositionValue' has a complexity of 7. Maximum allowed is 5" and I am not sure how to solve it. It is…