Quotes from Eric Freeman
when you send an object the worker gets a copy of it. Any changes the worker makes will not affect the object in your main page. The worker is executing in a different environment than your main page, so you have no access to objects there. The same is true of objects the worker sends you: you get a copy of them.
~ Eric Freeman
BazillionQuotes.com
So, we recommend specifying the width and height in the tag attributes, and not setting those properties in CSS unless you really mean to scale the canvas.
~ Eric Freeman
BazillionQuotes.com
Yes, workers can access localStorage and make XMLHttpRequests.
~ Eric Freeman
BazillionQuotes.com
The large number of acknowledgments is because we're testing the theory that everyone mentioned in a book acknowledgment will buy at least one copy, probably more, what with relatives and everything. If you'd like to be in the acknowledgment of our next book, and you have a large family, write to us.
~ Eric Freeman
BazillionQuotes.com
Web Workers have a global function named importScripts that you can use to import one or more JavaScript files into your worker. To
~ Eric Freeman
BazillionQuotes.com
If the two values have different types, try to convert them into the same type and then compare them
~ Eric Freeman
BazillionQuotes.com
You can extend your object at any time with new properties. To do this you just specify the new property and give it a value. For
~ Eric Freeman
BazillionQuotes.com
As of HTML5, you are allowed to use all numbers as an element id. As
~ Eric Freeman
BazillionQuotes.com
When you delete a property, you're not just deleting the value of the property, you're deleting the property itself. And, if you try to use fido.dogYears after deleting it, it will evaluate to undefined.
~ Eric Freeman
BazillionQuotes.com
We'd like to keep things flexible;
~ Eric Freeman
BazillionQuotes.com
The type of undefined is undefined. Why?
~ Eric Freeman
BazillionQuotes.com
An expression is anything that evaluates to a value. 3+4
~ Eric Freeman
BazillionQuotes.com
You've probably seen latitude and longitude specfied in both degrees/minutes/seconds, such as (47°38'34'', 122°32'32''), and in decimal values, such as (47.64, -122.54). With the Geolocation API we always use decimal values. If
~ Eric Freeman
BazillionQuotes.com
If you give it an index that is greater than or equal to the length of the string, it returns the empty string.
~ Eric Freeman
BazillionQuotes.com
Here's the short story: functions are objects in JavaScript. In
~ Eric Freeman
BazillionQuotes.com
Also notice that longitude West and latitude South are represented by negative values.
~ Eric Freeman
BazillionQuotes.com
in JavaScript just about everything is an object underneath, even
~ Eric Freeman
BazillionQuotes.com
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
BazillionQuotes.com
the constructor always has a prototype property. More
~ Eric Freeman
BazillionQuotes.com
A string is always a primitive unless you create it in a special way using an object constructor. We'll talk about object constructors later. And you can always use the typeof operator on your variable to see if it is of type string or object.
~ Eric Freeman
BazillionQuotes.com
Speaking activates a different part of the brain. If you're trying to understand something, or increase your chance of remembering it later, say it out loud. Better
~ Eric Freeman
BazillionQuotes.com
make sure that we
~ Eric Freeman
BazillionQuotes.com
two forms of the Adapter Pattern: object and class adapters. Class adapters require multiple inheritance. You can implement more
~ Eric Freeman
BazillionQuotes.com
We take donations in chocolate, pizza or bitcoins.
~ Eric Freeman
BazillionQuotes.com
