CoffeeScript: Difference between revisions

Content deleted Content added
Adoption: Add CSON. Improve existing citation.
make JS comparison more fair
Line 36:
 
<syntaxhighlight lang="javascript">
const mass = 72;
const height = 1.78;
const BMI = mass / height ** 2;
if (18.5 <= BMI && BMI < 25) { alert('You are healthy!') }
</syntaxhighlight>