Ternary operators are great.

Submitted By: admin on March 20, 2017

2

0

6005

Ternary operators are great. Source: www.reddit.com

total += (count > 10) * 15;

- monsieurpoirot

Site Comments (0)

Please Signin or Signup to add a comment