Get immediate access to this and over 1,500+ other videos and books.

Boost your skills with a Beginner subscription. With over 60+ video courses and our core foundational programming books bundled in one subscription, it’s simply the best investment you can make in your development career.

Create a Conditional List

This video was last updated on Apr 26 2022

Take your list skills to the next level by creating a new list based on certain conditions.


Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a Professional subscription.

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