Create a Conditional List
Take your list skills to the next level by creating a new list based on certain conditions.
So far in this part, you’ve saw a few ways to create a list.
var johnTest = 84; var tedTest = 32; var suzyTest = 80;
var tests = [ ];
var tests = [ if (johnTest > 75) johnTest, if (tedTest > 75) tedTest, if (suzyTest > 75) suzyTest ];