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

For...In - Getting The Key

Now that we understand the key-value relationship its time to see how can we use a for loop to loop through the keys of an object/array (and how to grab the value using the key).

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!

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