Merge pull request #1809 from leviding/patch-4

Add bigint to 1-js/02-first-steps/17-javascript-specials/article.md
This commit is contained in:
Ilya Kantor 2020-04-03 01:50:47 +03:00 committed by GitHub
commit 6f45ce77c9
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",