title: JavaScript shorthand ternary operator
body: <p>I know that in PHP 5.3 instead of using this redundant ternary operator syntax:</p>
  <pre><code>startingNum = startingNum ? startingNum : 1
  </code></pre>
  <p>...we can use a shorthand syntax for our ternary operators where applicable:</p>
  <pre><code>startingNum = startingNum ?: 1
  </code></pre>
  <p>And I know about the ternary operator in JavaScript:</p>
  <pre><code>startingNum = startingNum ? startingNum : 1
  </code></pre>
  <p>...but is there a shorthand?</p>