17 Pro JavaScript tricks you didn’t know
<h1>JavaScript : Tricks You Should Know</h1>
<h1>The ternary operator</h1>
<p>let hungry = true;<br />
let eat;<br />
if (hungry === true) {<br />
eat = 'yes';<br />
} else {<br />
eat = 'no';<br />
}</p>
<p> </p>
<p><a href="https://medium.com/javascript-in-plain-english/17-pro-javascript-tricks-you-didnt-know-b419c018dd19"><strong>Read More</strong></a></p>