IF

Normal if statement that will check if the statement is true or not...

FOR

Loop trough array as long as the given rules have been reached...

MAP

Mapping trough an array to do action to every index...

RANDOM

Math.random() will create a random numbers. Best way to use it, is with Math.floor(). Example Math.f...

SORT and REVERSE

sort() method will sort the array alphabetically. Reverse() method will sort the array in revers...

FILTER (for array)

The filter array method will create a new array with values that pass the check the filter method do...

REDUCE (for array)

The reduce method will run a function for each value and return single value in the end. From th...

EVERY (for array)

Every() method will check every item in array and all the items have to bass the given test in a fun...