- "conditional" statement
- exp is an expression that returns true or false
- if the expression returns true, the statements in the brackets are performed.
if (Math.random()>.9) { gotoAndPlay(3); }
-
"Math" is an "object"
- a collection of functions and variables
-
"random" is a function attached to "Math"
- returns a number between 0 and 1
.034754372, .73583728, .937862612 ...
- different number every time
TEST : Wednesday
There's 168 hours in 1 week: Spend 1 of those hours outside.
Turn off the computer and the TV. Don't touch your phone.
And, see if you can spend 1 continuous hour without an electronic device.
The fresh air, and lack of electronics, will recharge YOUR batteries,
and leave you feeling refreshed.
It doesn't matter if you sit, walk, stare at the trees, or just close your eyes…
Take some time for yourself this week.