“You’ll also hear developers refer to === (strict equality) as the “identity” operator.” — Eric Freeman Operator Copy Share Image
“Two objects are equal only if the variables containing the object references point to the same object.” — Eric Freeman Technology 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 Copy Share Image
“Remember what happens when you call getElementById and the id doesn’t exist in the DOM? You get null. Same thing with getAttribute.… — Eric Freeman 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
“Speaking activates a different part of the brain. If you’re trying to understand something, or increase your chance of remembering it later,… — Eric Freeman Copy Share Image
“position: absolute” positions an element based on the position of its most closely positioned parent.” — Eric Freeman Copy Share Image
“In fact, there’s a keyword in JavaScript named this, and that is exactly how you tell JavaScript you mean this object we’re… — 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
“The hasOwnProperty method returns true if a property is defined in an object instance. If it’s not, but you can access that… — Eric Freeman Technology Copy Share Image
“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 Copy Share Image
“JavaScript: When an event occurs, like the ones you’ve mentioned, that event is added to a queue. I don’t even look at it… — Eric Freeman Queue 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 have an environment that has a value for each of the free variables, we say that we’ve closed the… — Eric Freeman Closure Copy Share Image
“Q: Q: You said getElementsByTagName returns a list. Do you mean an array? A: A: It returns an object that you can… — Eric Freeman Technology 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
“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
“Now when we use the function keyword this way — that is, within a statement, like an assignment statement — we call… — Eric Freeman Copy Share Image
“Joe: What’s the target? Judy: Like I said, it’s the element that generated the event. Like if you click on a specific image, the… — Eric Freeman Goals Copy Share Image
“The responsibility of the model is to store the state of the game and implement logic that modifies that state.” — Eric Freeman Responsibility Copy Share Image
“If the two values have different types, try to convert them into the same type and then compare them” — Eric Freeman Copy Share Image
“using constructors still doesn’t prevent us from changing an object into something else later, because” — Eric Freeman Technology Copy Share Image
“NaN never equals any other value, including itself, so to test for NaN use the function isNaN.” — Eric Freeman Copy Share Image
“concentrate on knowing what is falsey, and then everything else you can consider truthy. Let’s look at some examples of using these… — Eric Freeman Truth Copy Share Image
“the truth is JavaScript actually makes two passes over your page: in the first pass it reads all the function definitions, and… — Eric Freeman Programming Copy Share Image
“Composite Pattern takes the Single Responsibility design principle and trades it for transparency.” — Eric Freeman Transparency Copy Share Image
“So, we recommend specifying the width and height in the tag attributes, and not setting those properties in CSS unless you really… — Eric Freeman Copy Share Image
“Well, it’s a browser policy, and it says you can’t retrieve data from a domain that is different from the domain the… — Eric Freeman Domain Copy Share Image
“methods in objects are properties too. They just happen to have a function assigned to them.” — Eric Freeman Copy Share Image
“You can extend your object at any time with new properties. To do this you just specify the new property and give… — Eric Freeman Technology Copy Share Image
“Booleans are named after George Boole, an English mathematician who invented Boolean logic. You’ll” — Eric Freeman 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
“Web Workers have a global function named importScripts that you can use to import one or more JavaScript files into your worker.… — Eric Freeman Technology 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 Code 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 Technology Copy Share Image
“When you declare any kind of global variable or define a global function, it is stored as a property in the window… — Eric Freeman Technology 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
“When you pass a primitive value it is copied into the parameter. We call this “passing by value.” So if you change… — Eric Freeman Technology Copy Share Image