Posts by Hugo Júnior • 113 points
1 post
- 
		11 votes1 answer1494 viewsQ: Javascript ternary condition with only one valueA very basic Javascript question, in a ternary condition how can I have action only in an if without the need of Else? Example (test) ? test1() : test2(); If you don’t want anything to happen to…