“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
“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 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 Copy Share Image
“If the two values have different types, try to convert them into the same type and then compare them” — Eric Freeman Different types 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 Copy Share Image
“Math is not a constructor, or even a function. It’s an object. As you know, Math is a built-in object that you… — Eric Freeman 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 Copy Share Image
“JavaScript doesn’t have a character type. So characters are returned as new strings containing one character.” — Eric Freeman Copy Share Image
“Lexical scope means that we can determine the scope of a variable by reading our code.” — Eric Freeman Programming 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 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
“If you change any property in the prototype, it affects all the objects that inherit from that prototype, unless that object has… — Eric Freeman Copy Share Image
“methods in objects are properties too. They just happen to have a function assigned to them.” — Eric Freeman Copy Share Image
“Two objects are equal only if the variables containing the object references point to the same object.” — 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 Copy Share Image
“By lexical scope we mean that JavaScript’s rules for scoping are based purely on the structure of your code (not on some… — Eric Freeman Programming 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 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
“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
“As it turns out, one of the things the new operator does behind the scenes when the object is created is to… — Eric Freeman Behind the scenes 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 Copy Share Image
“JavaScript creates all local variables at the beginning of a function whether you declare them or not (this is called “hoisting” and… — Eric Freeman Copy Share Image