Skip to content

Commit

Permalink
Update ch3.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zigomir committed Feb 15, 2015
1 parent 452c5a0 commit 0f69182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types & grammar/ch3.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Object.prototype.toString.call( [1,2,3] ); // "[object Array]"
Object.prototype.toString.call( /regex-literal/i ); // "[object RegExp]"
```

So, for the array in this example, the internal `[[Class]]` value is `"Array"`, and for the regular expression, it's `"RegExp"`. In most cases, this internal `[Class]]` value corresponds to the built-in native constructor (see below) that's related to the value, but that's not always the case.
So, for the array in this example, the internal `[[Class]]` value is `"Array"`, and for the regular expression, it's `"RegExp"`. In most cases, this internal `[[Class]]` value corresponds to the built-in native constructor (see below) that's related to the value, but that's not always the case.

What about primitive values? First, `null` and `undefined`:

Expand Down

0 comments on commit 0f69182

Please sign in to comment.