5.4 - change 7 basic types to eight basic types
This commit is contained in:
parent
fbf443e414
commit
a6c9f30cb8
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ An array is a special kind of object. The square brackets used to access a prope
|
||||||
|
|
||||||
They extend objects providing special methods to work with ordered collections of data and also the `length` property. But at the core it's still an object.
|
They extend objects providing special methods to work with ordered collections of data and also the `length` property. But at the core it's still an object.
|
||||||
|
|
||||||
Remember, there are only 7 basic types in JavaScript. Array is an object and thus behaves like an object.
|
Remember, there are only eight basic data types in JavaScript (see the [Data types](https://javascript.info/types) chapter for more info). Array is an object and thus behaves like an object.
|
||||||
|
|
||||||
For instance, it is copied by reference:
|
For instance, it is copied by reference:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue