The point of replacing the elseif with ternary nesting is hard to read. Another way could be to use a single level of if. but the idea of the article was to program without using a single if. I am open to see other devs as they would raise this.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The point of replacing the elseif with ternary nesting is hard to read. Another way could be to use a single level of if. but the idea of the article was to program without using a single if. I am open to see other devs as they would raise this.