Learn JavaScript Functions - Complete Course for Beginners with Guil Hernandez

Learn JavaScript Functions - Complete Course for Beginners with Guil Hernandez

11.8K views · 2021-10-08 UI Design
Build your JavaScript programming skills by learning about functions. Functions are at the heart of JavaScript. They let you write code that you can reuse in your program, making programming faster, efficient, and less error-prone.

Sign Up for Treehouse | Learn to Code Online - Enjoy Our 7 Day Free Trial!
https://trhouse.co/3qgSKW8

This in-depth and high-quality tutorial for beginners will teach you what you need to know to get started with JavaScript functions.

Video Chapters:

Create Reusable Code with Functions

0:00 Introducing Functions in JavaScript
4:08 Create and Call a Function
9:05 Return a Value from a Function
13:38 Using Multiple return Statements

Pass Information Into Functions

20:36 Function Parameters and Arguments
25:25 Pass Multiple Arguments to a Function
29:57 Variable Scope
36:59 Function Declarations vs. Function Expressions

Arrow Functions

41:28 Create Functions Using Arrow Syntax
46:03 Default Function Parameters
51:14 Function Challenge
52:38 Function Challenge Solution
57:07 Testing for Number Arguments

Join Treehouse today and start your free trial! http://trhou.se/148kMOY

Learn how to build websites and apps, write code, or start a business at Treehouse. Learn from over 1,000 videos created by our expert teachers on web design, coding, business, and much more. Treehouse teaches the in-demand technology skills you need to land your dream job.

Follow Us!
Twitter: https://twitter.com/treehouse
Instagram: https://instagram.com/teamtreehouse
LinkedIn: https://www.linkedin.com/school/treehouse-island-inc-/
Facebook: https://www.facebook.com/teamtreehouse/