Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Introducing Arrow Function Syntax!
You have completed Introducing Arrow Function Syntax!
Preview
Now that you've created an arrow function with no arguments, what does it look like with single and multiple arguments.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
First, let's create error functions
that take a single argument.
0:00
Open up the second JavaScript file, and
we're going to modify the function square,
0:03
and cube for each function let set
up variables with appropriate names.
0:09
Square, And cube.
0:14
Next, remove the function keyword and
each of the functions names.
0:22
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up