Search

Show me an Array and I'll show you a Loop

Arrays provide a way to store multiple pieces of information in a single thing. An array is basically a list of values: numbers, strings, boolean values or even other arrays or objects!
 
Loops are a way of repeating code -- they're very handy for repetitive tasks. Loops are frequently used to cycle through an array and perform an action on each item in the array.
if (isMyPost) { }