Skip to content

Commit

Permalink
remove second "can"
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Hoffmann committed Feb 12, 2015
1 parent c6d5612 commit b4e59b1
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 @@ -56,7 +56,7 @@ The point is, `new String("abc")` creates a string wrapper object around `"abc"`

## Internal `[[Class]]`

Values that are `typeof` of `"object"` (such as an array) are additionally tagged with an internal `[[Class]]` property (think of this more as an internal *class*ification rather than related to classes from traditional class-oriented coding). This property cannot be accessed directly, but can generally can be revealed indirectly by borrowing the default `Object.prototype.toString(..)` method called against the value. For example:
Values that are `typeof` of `"object"` (such as an array) are additionally tagged with an internal `[[Class]]` property (think of this more as an internal *class*ification rather than related to classes from traditional class-oriented coding). This property cannot be accessed directly, but can generally be revealed indirectly by borrowing the default `Object.prototype.toString(..)` method called against the value. For example:

```js
Object.prototype.toString.call( [1,2,3] ); // "[object Array]"
Expand Down

0 comments on commit b4e59b1

Please sign in to comment.