In https://github.com/Khan/khan-exercises/blob/master/khan-exercise.js
there are two var Khan variables. How come? Do they affect each other?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One
Khanis the name of the global variable “Khan“, the other is a variable inside the self executing function that it is equal to.The indentation in the source file is horrible and you probably did not notice that….