What are Concise Body Arrow Functions in JavaScript ES6 Syntax, Concise Body JS on Codecademy, Guide

Channel:
Subscribers:
7,740
Published on ● Video Link: https://www.youtube.com/watch?v=WLPn5vGC-Bs



Category:
Guide
Duration: 3:40
249 views
3


In this JavaScript walkthrough, we take a look at What are Concise Body Arrow Functions in JavaScript ES6 Syntax, Learn Concise Body on Codecademy. In the previous lesson, we looked at arrow functions and found out that they are an ES6 feature that allows us to cut our code by getting rid of the function keyword. In this lesson, we learn how to cut our code down even more by using single-line block code. We learn that we are able to get rid of our curly braces as well as our return keyword when we use a single line block of code. We also learn that if we have only one parameter, then we do not have to add parentheses to our parameter, but if there are 0 or 2 or more parameters then our function does require parentheses. Understanding concise body arrow functions in JavaScript is important in your programming journey and will help when reading and trying to dissect code. Learning to refactor your code to be more concise is also very helpful and displays to others your superior programming style. Make sure to understand concise body arrow functions in JavaScript before moving on to the next JavaScript lessons!




Other Videos By We Will Code


2022-03-01How to Create an Array with JavaScript, Creating an Array Explained in Codecademy, What are Arrays
2022-03-01JavaScript Arrays for Beginners, Intro to JavaScript Arrays on Codecademy, Learn Array Manipulation
2022-03-01Codecademy's Learn JavaScript, Review Scope, Blocks, Namespace, Global Variables, Scope Pollution
2022-03-01How to Practice Good Scoping in JavaScript, Practicing Good Scope on Codecademy, Learning to Code
2022-03-01Avoid Scope Pollution in JavaScript, Avoiding Scope Pollution on Codecademy Programming Walkthroughs
2022-02-27Block Scope Explained in JavaScript, What is Block Scope, Codecademy's Learn Programming in JS ES6
2022-02-26What is Global Scope in JavaScript, Scope and Variable Accessibility, Codecademy's Learn JavaScript
2022-02-26Blocks and Scope in JavaScript, ES6 Blocks and Scope on Codecademy, Learn to Code, Learn to Program
2022-02-25What is Scope in Programming, Intro to Scope in JavaScript, Programming with Codecademy ES6 JS Guide
2022-02-25Review of JavaScript Functions, A Review of Functions in Programming, Writing Functions, Codecademy
2022-02-25What are Concise Body Arrow Functions in JavaScript ES6 Syntax, Concise Body JS on Codecademy, Guide
2022-02-25How Arrow Functions Work in JavaScript, Arrow Functions in JavaScript Explained, Codecademy JS Tips
2022-02-24Understanding Function Expressions, How Function Expressions Work in JavaScript, Codecademy JS Guide
2022-02-24What are Helper Functions, How to Use a Helper Function in JavaScript, Programming with Codecademy
2022-02-23Learn JavaScript, Functions, Return Statement Explained, Codecademy Learn Programming with JS ES6
2022-02-23How to Add Default Parameters in JavaScript ES6, Codecademy Programming, Default Parameters ES6 Tips
2022-02-22Parameters and Arguments in JavaScript, Passing in Arguments, Providing Parameters, Codecademy JS
2022-02-21Calling a Function in JavaScript Programming, Codecademy's JavaScript Functions Section, JS Guide
2022-02-21Learn JavaScript, Function Declarations Explained, How Function Declarations Work on Codecademy JS
2022-02-21Learn JavaScript, What Are Functions, Codecademy Full Programming Course, JS ES6 Functions Explained
2022-02-21Learn JavaScript Control Flow Quiz on Codecademy, JavaScript Conditional Statements Review, JS Tips



Tags:
Coding
JS
JavaScript
Programming
Tutorials