• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Library
  • Community
  • Support
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Go
      • • HTML
      • • iOS
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
      • • Swift
  • Chris Yan
    Chris Yan
    Full Stack JavaScript Techdegree Student 9,250 Points

    Does an arrow function return a value if there is more than 1 line of code?

    Posted September 18, 2019 2:54am by Chris Yan
    Chris Yan
    Full Stack JavaScript Techdegree Student 9,250 Points
    • JavaScript
    • Getting Started With ES2015
    • Create Functions Using Arrow Syntax
    • Concise Arrow Function Syntax

    1 Answer

  • Jake Smith
    Jake Smith
    Front End Web Development Techdegree Student 9,364 Points

    Declarations vs expressions

    Posted July 19, 2019 4:32pm by Jake Smith
    Jake Smith
    Front End Web Development Techdegree Student 9,364 Points
    • JavaScript
    • Getting Started With ES2015
    • Create Functions Using Arrow Syntax
    • Concise Arrow Function Syntax

    1 Answer

  • Tibor Ruzinyi
    Tibor Ruzinyi
    14,265 Points

    square(x)

    Posted April 1, 2019 6:06pm by Tibor Ruzinyi
    Tibor Ruzinyi
    14,265 Points
    • JavaScript
    • Getting Started With ES2015
    • Create Functions Using Arrow Syntax
    • Concise Arrow Function Syntax

    1 Answer

  • Raul Cisneros
    Raul Cisneros
    5,852 Points

    Dont see benefit to arrow functions.

    Posted July 27, 2018 5:22pm by Raul Cisneros
    Raul Cisneros
    5,852 Points
    • JavaScript
    • Getting Started With ES2015
    • Create Functions Using Arrow Syntax
    • Concise Arrow Function Syntax

    5 Answers

  • tomd
    tomd
    16,643 Points

    Updating old code, arrow function doesn't work

    Posted March 18, 2018 8:03am by tomd
    tomd
    16,643 Points
    • JavaScript
    • Getting Started With ES2015
    • Create Functions Using Arrow Syntax
    • Concise Arrow Function Syntax

    1 Answer

  • adam n
    adam n
    57,282 Points

    Video seems to imply that this should work

    Posted February 1, 2018 6:51pm by adam n
    adam n
    57,282 Points
    • JavaScript
    • Getting Started With ES2015
    • Create Functions Using Arrow Syntax
    • Concise Arrow Function Syntax

    1 Answer

  • Derek Vha
    Derek Vha
    10,452 Points

    JavaScript - Arrow Function Expression

    Posted January 22, 2018 6:58pm by Derek Vha
    Derek Vha
    10,452 Points
    • JavaScript
    • Getting Started With ES2015
    • Create Functions Using Arrow Syntax
    • Concise Arrow Function Syntax

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Our mission is to bring affordable technology education to people everywhere in order to help them achieve their dreams and change the world.
Our Company
About Us
Contact Us
Community
Treehouse Stories
Student Perks
Treehouse Blog
Affiliate Program
Careers
Topics
HTML
CSS
Design
JavaScript
Ruby
PHP
iOS
Android
Development Tools
Business
Tracks
Web Design
Web Development
Rails Development
PHP Development
iOS Development
Android Development
Starting a Business
  • Treehouse Blog
  • About Treehouse
  • Privacy Policy
  • Terms & Conditions
  • © 2019 Treehouse Island, Inc.

Sign in

I forgot my password