Functions & Variable Scope in JavaScript

preview_player
Показать описание
In week 2 of the JS workshop series, we explore:

- What a function is, how we can define and invoke them
- Arguments and parameters: what's the difference between them?
- Passing in arguments into our functions
- The implicit and explicit return value of a function
- Three different ways we can define a function
- A variable's scope, and how to declare global and local variables

Рекомендации по теме
Комментарии
Автор

These are fantastic for circular learning and revisions! Just listening to them on my way to work and relearned a lot already! This really helps to refine the mental model of things I wasn't 100% certain on although I though I was!

Syuzaki
Автор

Chapters:

0:11 - Workshop Introduction and Guidelines
1:38 - Today's Lesson Introduction
6:36 - Setup and Tools
7:20 - Introduction to Functions and Variables
9:58 - Deep Dive into JavaScript Variables
15:23 - Transition to JavaScript Functions
21:46 - Troubleshooting and Best Practices
26:05 - Understanding Function Parameters and Arguments
38:23 - Working with Function Calls and Return Values
45:16 - Different Approaches to Defining Functions
54:50 - In-depth on Different Function Types
1:08:24 - Brief on Data Types and Conversions
1:11:04 - Conclusion, Feedback, and Next Steps

NBA-NoFilter