message += days + " day" + ( days==1 ? '':'s' ) + ", ";
If my counter comes to 1 month and ZERO day, it writes dayS, of course. How can I pass a "OR" operator into this code?
I tried:
( (days==1 ? '':'s' ) || (days==0 ? '':'s'))
and:
( days==1||0 ? '':'s' )
Both of them show an S at value "0"
( days==0 || days==1 ? '':'s )?