I'm reading through AngularJS developer guidelines, and although I'm not so new to JavaScript, and although Google talks down to developers I don't understand some portions of the documentation.
Namely, I don't understand what hash object is. I thought I knew what object hash was, but they use it differently. I'll put few quotes to illustrate:
About scope parameter of $compile function
If set to {} (object hash), then a new "isolate" scope is created
The 'isolate' scope takes an object hash which defines a set of local scope properties derived from the parent scope. These local properties are useful for aliasing values for templates. Locals definition is a hash of local scope property to its source:
Talking about link
function for creationg of directives
attrs is a hash object with key-value pairs of normalized attribute names and their corresponding attribute values
- What is a hash object? Is it just an ordinary object?
- Is this term something often used in JavaScript development, or a habit of Angular developers?
- If hash object is just an object, what other kinds of objects exist?
- Are
object hash
andhash object
same thing? If so, they should probably revise their documentation.
Comment to answers:
As I asked several questions, each answerer seems to have answered best to a single part. For future reference, each of them is valuable and worth the read.