Javascript – How can I simplify this piece of jaascript code
I'm sure this JS piece of JavaScript code can be simplified... I'm trying to reduce the amount of code lines and believe this can be condensed and merged into a shorter version? It's basically a decision tree with yes |…