spelling fixes
This commit is contained in:
parent
99f6e0729b
commit
dbade6cd11
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# Data types
|
||||
|
||||
A variable in JavaScript can contain any data. A variable can at one moment be a string and later recieve a numeric value:
|
||||
A variable in JavaScript can contain any data. A variable can at one moment be a string and later receive a numeric value:
|
||||
|
||||
```js
|
||||
// no error
|
||||
|
@ -8,7 +8,7 @@ let message = "hello";
|
|||
message = 123456;
|
||||
```
|
||||
|
||||
Programming languages that allow such thing are called "dynamically typed", meaning that there are data types, but variables are not bound to any of them.
|
||||
Programming languages that allow such things are called "dynamically typed", meaning that there are data types, but variables are not bound to any of them.
|
||||
|
||||
There are 7 basic data types in JavaScript. Here we'll study the basics, and in next chapters we'll talk about each of them in detail.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue