From d7c1ae4f765023fbc61502f2899e3d4caa3e6d80 Mon Sep 17 00:00:00 2001 From: Linus Lee Date: Thu, 24 Sep 2020 07:46:06 -0400 Subject: Remove plans for looping constructs -- we don't need em --- static/js/main.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'static/js/main.js') diff --git a/static/js/main.js b/static/js/main.js index 7ff59b0..7774bba 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -115,7 +115,7 @@ class App extends Component { { evt.preventDefault(); this.render(); - }}>Rewrite headline! + }}>NEW headline! Blog post @@ -147,13 +147,17 @@ class App extends Component { Declare a function by writing DISCOVER HOW TO ... WITH. Truly, a more gripping way to declare a function can't possibly exist! - -
  • - Assign to a variable by writing EXPERTS CLAIM ... TO BE. On the Internet, anyone can be an expert, and Tabloid gives YOU the power to wield that responsibility and declare anything you'd like!
  • +
  • + There are no built-in constructs for looping. The news + cycle is moving too fast! Nobody has time for yesterday's + loops or last week's break statements. If you must loop, + use recursion. +
  • To return from a function, simply write SHOCKING DEVELOPMENT! You're going @@ -203,6 +207,8 @@ class App extends Component {
  • END OF STORY end a block scope
  • EXPERTS CLAIM...TO BE declare or assign to a variable
  • YOU WON'T WANT TO MISS print output
  • +
  • TOTALLY RIGHT true
  • +
  • COMPLETELY WRONG false
  • IS ACTUALLY is equal to
  • BEATS / SMALLER THAN greater than / less than
  • SHOCKING DEVELOPMENT return from a function
  • -- cgit v1.2.3-70-g09d2