Update article.md

This commit is contained in:
LeviDing 2020-03-23 11:53:28 +08:00 committed by GitHub
parent a11cc18d1a
commit 460e7a852b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,9 +81,10 @@ let x = 5;
x = "John"; x = "John";
``` ```
There are 7 data types: There are 8 data types:
- `number` for both floating-point and integer numbers, - `number` for both floating-point and integer numbers,
- `bigint` for integer numbers of arbitrary length,
- `string` for strings, - `string` for strings,
- `boolean` for logical values: `true/false`, - `boolean` for logical values: `true/false`,
- `null` -- a type with a single value `null`, meaning "empty" or "does not exist", - `null` -- a type with a single value `null`, meaning "empty" or "does not exist",