02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School

Loops The Final Fortier - Part 2

"For" loops? You got em, now. What about loops that step through an object? How about nested loops? Learn how to break out of a loop, too - helpful to avoid killing Flash!

Duration:

52:39

Created with

Ben Fhala

Ben Fhala

Ben Fhala is the creative force and founder behind 02geek, a pioneering platform dedicated to making web development accessible to everyone. With over 18 years of experience in the industry, Ben has a deep passion for teaching and a knack for breaking down complex concepts into easy-to-understand lessons.

Loops The Final Fortier - Part 2 Overview

What you'll learn

You know what loops are and how to use the for loop. (if you don't Loops the Final Frontier - Part 1


In this title we will take our new knowledge about loops and connect the dots between loops/arrays/objects, check out other ways to loops, and see loops in action in more complex scenarios such as nesting loops to find prime numbers.

Overview

02:49

Reminder: Key-Value Relashinships

Before we can take the next step in working with loops we first need to remind our-self the key-value relationship

03:10

For...In - Getting The Key

03:50

For Each...In : Getting The Value

03:09

While(condition)

05:29

Do...While(condition)

02:02

Nested Loops

11:56

Break

01:23

Break In Action: Prime Numbers

07:57

Continue

02:29

Continue in Action

04:34

Labels

03:49