🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Daniel Wolks
    Daniel Wolks
    17,101 Points

    Can someone please explain the Person constructor? Including the Object.keys(this). This is really confusing.

    Posted September 3, 2019 4:54pm by Daniel Wolks
    Daniel Wolks
    17,101 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    0 Answers

  • Moses Wynn
    Moses Wynn
    20,461 Points

    Why isn't Person a class?

    Posted September 5, 2018 2:12pm by Moses Wynn
    Moses Wynn
    20,461 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • Marcus Schumacher
    Marcus Schumacher
    16,616 Points

    Can someone explain line 8?

    Posted July 26, 2018 1:27am by Marcus Schumacher
    Marcus Schumacher
    16,616 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • chloeguttridge
    chloeguttridge
    16,608 Points

    Arrow Functions Video

    Posted June 16, 2018 3:53pm by chloeguttridge
    chloeguttridge
    16,608 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • ella sherilyn ramos
    ella sherilyn ramos
    7,063 Points

    What is the reason for assigning getKeys to another variable?

    Posted April 20, 2018 6:18am by ella sherilyn ramos
    ella sherilyn ramos
    7,063 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    3 Answers

  • TzeYang Chew
    TzeYang Chew
    12,039 Points

    hi can anyone explain why this set of code return Alena's Keys: [ 'name', 'role', 'getKeys' ]?

    Posted February 24, 2018 4:27pm by TzeYang Chew
    TzeYang Chew
    12,039 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • olu adesina
    olu adesina
    23,007 Points

    Im a bit lost HELP!!!

    Posted January 19, 2018 3:09am by olu adesina
    olu adesina
    23,007 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • Sahil Kapoor
    Sahil Kapoor
    8,932 Points

    Use of Arrow function in objects?

    Posted December 26, 2017 9:57pm by Sahil Kapoor
    Sahil Kapoor
    8,932 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • Timothy Mattingly
    Timothy Mattingly
    15,986 Points

    What makes these variables not truthy?

    Posted December 9, 2017 9:10pm by Timothy Mattingly
    Timothy Mattingly
    15,986 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • jlampstack
    jlampstack
    23,932 Points

    Arrow function binds the function to the instance....

    Posted November 9, 2017 2:21pm by jlampstack
    jlampstack
    23,932 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • Dennis Flannigan
    Dennis Flannigan
    27,156 Points

    Confused by Guils teaching style

    Posted August 23, 2017 11:21pm by Dennis Flannigan
    Dennis Flannigan
    27,156 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    7 Answers

  • Greg Schudel
    Greg Schudel
    4,090 Points

    this within javascript functions

    Posted June 27, 2017 12:59pm by Greg Schudel
    Greg Schudel
    4,090 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • Laurence kite
    Laurence kite
    11,768 Points

    JavaScript ES2015 new stuff

    Posted June 20, 2017 5:39pm by Laurence kite
    Laurence kite
    11,768 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    2 Answers

  • cyber voyager
    cyber voyager
    8,859 Points

    Js vs jQuery

    Posted June 14, 2017 3:19pm by cyber voyager
    cyber voyager
    8,859 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    3 Answers

  • israel meza
    PLUS
    israel meza
    Courses Plus Student 10,890 Points

    arrow-this.js

    Posted April 13, 2017 4:09pm by israel meza
    israel meza
    Courses Plus Student 10,890 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • Jiho Song
    Jiho Song
    16,469 Points

    Why First example of this video didnt return the intened results?

    Posted February 16, 2017 3:08am by Jiho Song
    Jiho Song
    16,469 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • Vlad Legkowski
    Vlad Legkowski
    9,882 Points

    At what point "getKeys" becomes to be a key?

    Posted December 21, 2016 10:55am by Vlad Legkowski
    Vlad Legkowski
    9,882 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

  • Brendan Whiting
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,738 Points

    Should I always use arrow functions from here on out?

    Posted September 7, 2016 11:54am by Brendan Whiting
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,738 Points
    • JavaScript
    • Introducing ES2015
    • The Cooler Parts of ES2015
    • Arrow Functions

    1 Answer

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

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.