“When you delete a property, you’re not just deleting the value of the property, you’re deleting the property itself. And, if you… — Eric Freeman Deleting Property Copy Share Image
“Now, when we have an environment that has a value for each of the free variables, we say that we’ve closed the… — Eric Freeman Copy Share Image
“when you assign a value to a variable name that hasn’t been previously declared, it is treated as a new, global variable.… — Eric Freeman Technology Copy Share Image
“Now when we use the function keyword this way — that is, within a statement, like an assignment statement — we call… — Eric Freeman Assignment Copy Share Image
“You can use arguments to create a function that accepts a variable number of arguments, or create a function that does different… — Eric Freeman Copy Share Image
“There are five falsey values in JavaScript: undefined is falsey. null is falsey. 0 is falsey. The empty string is falsey. NaN… — Eric Freeman Technology Copy Share Image
“JavaScript doesn’t have a character type. So characters are returned as new strings containing one character.” — Eric Freeman Type Characters Copy Share Image
“If you give it an index that is greater than or equal to the length of the string, it returns the empty… — Eric Freeman String Copy Share Image
“Well, say you write a handler and it requires a lot of computation — that is, something that takes a long time… — Eric Freeman Computation Copy Share Image
“One thing that often misleads people learning closures is that they think the environment in the closure must have a copy of… — Eric Freeman Closure Copy Share Image
“If you assign a new variable without using the var keyword, that variable will be global, even if you are first assigning… — Eric Freeman Technology Copy Share Image
“If you change any property in the prototype, it affects all the objects that inherit from that prototype, unless that object has… — Eric Freeman Technology Copy Share Image
“When you pass zero to setTimeout, you’re asking JavaScript to run your timeout handler as soon as it possibly can — and… — Eric Freeman Technology Copy Share Image
“As of HTML5, you are allowed to use all numbers as an element id. As” — Eric Freeman Element Copy Share Image
“in JavaScript just about everything is an object underneath, even” — Eric Freeman Object Copy Share Image
“Also notice that longitude West and latitude South are represented by negative values.” — Eric Freeman Copy Share Image
“Closures are often used to capture state for event handlers.” — Eric Freeman Technology Copy Share Image
“A function without a return statement returns undefined.” — Eric Freeman Technology Copy Share Image
“Booleans are named after George Boole, an English mathematician who invented Boolean logic. You’ll” — Eric Freeman George Boole Copy Share Image
“When you design, solve things in the simplest way possible. Your goal should be simplicity, not 'How can I apply a pattern… — Eric Freeman Design Copy Share Image
“We haven’t done much writing code, but we are reading and understanding code, and that can be just as good. So” — Eric Freeman Programming Copy Share Image
“If I had a dime for every time I’ve heard that one”, thought Larry, knowing that spec-change-no-problem was a fantasy. “And” — Eric Freeman Money Copy Share Image
“If a variable is declared outside a function, it’s GLOBAL. If it’s declared inside a function, it’s LOCAL.” — Eric Freeman Copy Share Image
“Composite Pattern takes the Single Responsibility design principle and trades it for transparency.” — Eric Freeman Copy Share Image
“An object named arguments is available in every function when that function is called. You” — Eric Freeman Technology Copy Share Image
“That’s because the default prototype for any instance you create (assuming you don’t change it) is Object.” — Eric Freeman Copy Share Image
“JavaScript doesn’t have a classical object-oriented model, where you create objects from classes. In fact, JavaScript doesn’t have classes at all. In… — Eric Freeman Technology Copy Share Image
“Note that the JSON format doesn’t work with methods (so you can’t include, say, a bark method in your JSON string), but… — Eric Freeman Copy Share Image
“A string is always a primitive unless you create it in a special way using an object constructor. We’ll talk about object… — Eric Freeman Copy Share Image
“When I’m loading a page from my computer, like we are in these exercises, what is my origin? A: A: Good question.… — Eric Freeman Computers Copy Share Image
“JavaScript has a very powerful object model, but one that is a bit different than the status quo object-oriented language. Rather than… — Eric Freeman Status quo Copy Share Image
“To write code this way, you need to consider the events that can happen, and how your code should react. Computer science… — Eric Freeman Computer science Copy Share Image
“When you pass a primitive value it is copied into the parameter. We call this “passing by value.” So if you change… — Eric Freeman Copy Share Image
“You see, now that we have a prototype, if we add any methods to that prototype, even after we’ve already created dog… — Eric Freeman Habits Copy Share Image
“JavaScript: Don’t judge me by my bad parts, learn the good stuff and stick with that!” — Eric Freeman Learn Copy Share Image