Summary
Keywords
Full Transcript
Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap In this video we'll look at examples of Functions in Javascript and learn how to create our own functions that are blocks of reusable code! ▶ This video is part of the JavaScript Tutorials for Beginners Playlist found here: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6Oi6xNtL_fwCrwpuqylMsgT ✅ Quick Concepts outline: Functions in Javascript (00:00) Intro (0:15) Built-in Functions (0:55) Functions are reusable code blocks (1:12) Function Declaration Syntax (1:20) Creating a Basic Function: sum() (2:09) Calling a Function into action (2:50) Passing Parameters to a Function (3:30) Creating Reusable Code with Functions (3:50) Missing Parameters (4:30) Handling Missing Parameters (5:20) Another Function Example: getUserNameFromEmail() (7:10) Is it reusable? Yes! (7:30) Anonymous Functions (8:30) Arrow Functions (9:05) Creating One More Function: toProperCase() 📚 Further Reading: MDN Web Docs: Functions: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions Eloquent JavaScript Chapter 3: https://eloquentjavascript.net/03_functions.html 📺 More Beginner JS Videos: freeCodeCamp: https://youtu.be/PkZNo7MFNFg Traversy Media: https://youtu.be/hdI2bqOjy3c The Net Ninja: https://youtu.be/iWOYAxlnaww ✅ Follow Me: Twitter: https://twitter.com/yesdavidgray Reddit: https://www.reddit.com/user/DaveOnEleven Medium: https://medium.com/@davegray_86804 #Functions #Javascript #Tutorial
