AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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
      • • Vibe Coding
  • Paolo Scamardella
    Paolo Scamardella
    24,828 Points

    Anonymous Function vs Function Declaration

    Posted February 15, 2015 2:14pm by Paolo Scamardella
    Paolo Scamardella
    24,828 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    1 Answer

  • Charlie Person
    Charlie Person
    8,692 Points

    Unexpected results in the console.

    Posted February 3, 2015 1:27pm by Charlie Person
    Charlie Person
    8,692 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    2 Answers

  • Josiah McClellan
    PLUS
    Josiah McClellan
    Courses Plus Student 7,869 Points

    Instructor made a mistake. Naming a function doesn't always assign it to a variable automatically.

    Posted January 27, 2015 3:28am by Josiah McClellan
    Josiah McClellan
    Courses Plus Student 7,869 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    1 Answer

  • mv t
    mv t
    5,513 Points

    Why should we need to make a function call act like a mathematical expression at 13:54 ?

    Posted December 30, 2014 3:40am by mv t
    mv t
    5,513 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    1 Answer

  • Shane He
    Shane He
    7,618 Points

    Anyway we can improve this js series?

    Posted December 4, 2014 8:12pm by Shane He
    Shane He
    7,618 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    11 Answers

  • Culture Foundry
    Culture Foundry
    8,396 Points

    The thing I don't get, is why would we ever use an anonymous function? Why not just name them all?

    Posted October 6, 2014 4:01pm by Culture Foundry
    Culture Foundry
    8,396 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    2 Answers

  • Justin McAuley
    Justin McAuley
    6,643 Points

    Tough lecture to follow conceptually.. any other resources?

    Posted July 14, 2014 5:51am by Justin McAuley
    Justin McAuley
    6,643 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    3 Answers

  • Jiecao Wang
    Jiecao Wang
    5,833 Points

    Line 72 ";" needed?

    Posted June 25, 2014 11:53pm by Jiecao Wang
    Jiecao Wang
    5,833 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    1 Answer

  • Nicholas Lee
    Nicholas Lee
    12,474 Points

    What's the point of parameters in a function?

    Posted June 12, 2014 4:42pm by Nicholas Lee
    Nicholas Lee
    12,474 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    2 Answers

  • orange sky
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points

    (function(){...})(arg1, arg2)

    Posted June 3, 2014 1:00am by orange sky
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    4 Answers

  • Michael Fraser
    Michael Fraser
    19,084 Points

    Bit Confused about the last section of this...

    Posted May 12, 2014 11:16am by Michael Fraser
    Michael Fraser
    19,084 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    3 Answers

  • Steven Pribilinskiy
    Steven Pribilinskiy
    8,400 Points

    namedFunction in global scope

    Posted April 29, 2014 2:53pm by Steven Pribilinskiy
    Steven Pribilinskiy
    8,400 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    4 Answers

  • Arthur The Dog
    Arthur The Dog
    16,070 Points

    Very confusing video

    Posted April 26, 2014 3:29am by Arthur The Dog
    Arthur The Dog
    16,070 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    3 Answers

  • Brian CI
    Brian CI
    28,971 Points

    My function is only being called once

    Posted April 18, 2014 10:31am by Brian CI
    Brian CI
    28,971 Points
    • JavaScript
    • JavaScript Foundations
    • Functions
    • Anonymous Functions

    4 Answers

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.