5.4 - change 7 basic types to eight basic types

This commit is contained in:
Matt Lim 2020-08-10 23:02:31 -07:00
parent fbf443e414
commit a6c9f30cb8

View file

@ -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: