• 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
  • Nelson J
    Nelson J
    5,984 Points

    person variable without the 'var' keyword in the console.

    Posted April 15, 2019 1:32am by Nelson J
    Nelson J
    5,984 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    1 Answer

  • meghana Joshi
    meghana Joshi
    4,552 Points

    Don't we use let instead of var now

    Posted January 17, 2019 1:54pm by meghana Joshi
    meghana Joshi
    4,552 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    1 Answer

  • Abubakr Alhaj
    Abubakr Alhaj
    4,297 Points

    I understood the scope of the function but in the min. 1:23 it's very confusing because when you see the demonstration.

    Posted September 16, 2018 7:25am by Abubakr Alhaj
    Abubakr Alhaj
    4,297 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    1 Answer

  • Azul Bleu
    PRO
    Azul Bleu
    Pro Student 1,015 Points

    Isn't there times when what you want exactly is to override the global scope?

    Posted November 27, 2017 11:29am by Azul Bleu
    Azul Bleu
    Pro Student 1,015 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    1 Answer

  • Shumin Zhou
    Shumin Zhou
    10,218 Points

    why is show the string Lilha, George than Lilha angain!!

    Posted August 25, 2017 10:38am by Shumin Zhou
    Shumin Zhou
    10,218 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    2 Answers

  • Enemuo Felix
    Enemuo Felix
    1,895 Points

    Just really want to know if I'm on the same page with this

    Posted August 23, 2017 5:41pm by Enemuo Felix
    Enemuo Felix
    1,895 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    1 Answer

  • Nelson Lim
    Nelson Lim
    9,157 Points

    i'm a little bit confused

    Posted June 30, 2017 7:36pm by Nelson Lim
    Nelson Lim
    9,157 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    1 Answer

  • Michael Lambert
    Michael Lambert
    6,283 Points

    Accessing global scopes

    Posted June 18, 2017 8:28pm by Michael Lambert
    Michael Lambert
    6,283 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    4 Answers

  • Audra Ogilvy
    Audra Ogilvy
    3,142 Points

    The function finds the variable in the global scope?

    Posted June 11, 2017 11:54pm by Audra Ogilvy
    Audra Ogilvy
    3,142 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    4 Answers

  • Timothy Huxley
    PRO
    Timothy Huxley
    Pro Student 4,781 Points

    Are there any tools to give us warnings and help us avoid risky code?

    Posted January 19, 2017 10:49am by Timothy Huxley
    Timothy Huxley
    Pro Student 4,781 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    2 Answers

  • Karl Pupé
    Karl Pupé
    6,706 Points

    Variable Scope - why Lilah, George and Lilah?

    Posted October 18, 2016 1:49pm by Karl Pupé
    Karl Pupé
    6,706 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    1 Answer

  • MICHAEL P
    MICHAEL P
    5,190 Points

    I need a simple explanation of global functions within JavaScript, please?

    Posted September 8, 2016 5:33pm by MICHAEL P
    MICHAEL P
    5,190 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    4 Answers

  • Abir Ahmed
    PRO
    Abir Ahmed
    Pro Student 8,616 Points

    Why by removing "var" of the functions make functions look for a variable in Global Scope?

    Posted May 22, 2016 8:03pm by Abir Ahmed
    Abir Ahmed
    Pro Student 8,616 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    1 Answer

  • Mohammed Jammeh
    Mohammed Jammeh
    29,095 Points

    Accessing a variable inside a function..

    Posted March 26, 2016 10:01pm by Mohammed Jammeh
    Mohammed Jammeh
    29,095 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    4 Answers

  • Michal Janek
    Michal Janek
    Front End Web Development Techdegree Graduate 30,650 Points

    Why Lilah 3rd time?

    Posted March 2, 2016 7:08pm by Michal Janek
    Michal Janek
    Front End Web Development Techdegree Graduate 30,650 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    2 Answers

  • Philip Bessa
    Philip Bessa
    5,396 Points

    Over-complicated? Why not rename a variable?

    Posted August 10, 2015 7:25pm by Philip Bessa
    Philip Bessa
    5,396 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    2 Answers

  • Durdona Abdusamikovna
    Durdona Abdusamikovna
    1,553 Points

    I need better explanation on SCOPE

    Posted April 13, 2015 2:06pm by Durdona Abdusamikovna
    Durdona Abdusamikovna
    1,553 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    14 Answers

  • Durdona Abdusamikovna
    Durdona Abdusamikovna
    1,553 Points

    Can someone suggest me any JavaScript Debugger ... ? I really want to see how each line of codes are running.

    Posted April 13, 2015 3:56am by Durdona Abdusamikovna
    Durdona Abdusamikovna
    1,553 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    3 Answers

  • Corey Standish
    Corey Standish
    14,835 Points

    Besides asking to have the basic lessons "Dumbed Down" even more, are there any tips on learning the basics?

    Posted March 19, 2015 12:00am by Corey Standish
    Corey Standish
    14,835 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    4 Answers

  • VIVIAN CENTENO
    VIVIAN CENTENO
    2,335 Points

    Code Challenge: Create a function named max()

    Posted January 9, 2015 4:18am by VIVIAN CENTENO
    VIVIAN CENTENO
    2,335 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    6 Answers

  • John Haas
    John Haas
    1,756 Points

    Scope question.

    Posted December 4, 2014 12:45am by John Haas
    John Haas
    1,756 Points
    • JavaScript
    • JavaScript Basics
    • Creating Reusable Code with Functions
    • Variable Scope

    1 Answer

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