You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/05-types/article.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# Data types
2
2
3
-
A variable in JavaScript can contain any data. A variable can at one moment be a string and later recieve a numeric value:
3
+
A variable in JavaScript can contain any data. A variable can at one moment be a string and later receive a numeric value:
4
4
5
5
```js
6
6
// no error
7
7
let message ="hello";
8
8
message =123456;
9
9
```
10
10
11
-
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.
11
+
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.
12
12
13
13
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.
0 commit comments