Skip to content

Commit fc9719c

Browse files
committed
Update 03_booleans_operators_date.md
1 parent 37b3a1a commit fc9719c

File tree

1 file changed

+37
-36
lines changed

1 file changed

+37
-36
lines changed

Vietnamese/03_Day_Booleans_operators_date/03_booleans_operators_date.md

Lines changed: 37 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7,57 +7,58 @@
77
<img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/asabeneh?style=social">
88
</a>
99

10-
<sub>Author:
10+
<sub>Tác giả:
1111
<a href="https://www.linkedin.com/in/asabeneh/" target="_blank">Asabeneh Yetayeh</a><br>
12-
<small> January, 2020</small>
12+
<small> Tháng 1, 2020</small>
1313
</sub>
1414
</div>
1515

16-
[<< Day 2](../02_Day_Data_types/02_day_data_types.md) | [Day 4 >>](../04_Day_Conditionals/04_day_conditionals.md)
16+
[<< Ngày 2](../02_Day_Data_types/02_day_data_types.md) | [Ngày 4 >>](../04_Day_Conditionals/04_day_conditionals.md)
1717

18-
![Thirty Days Of JavaScript](../images/banners/day_1_3.png)
18+
![Thirty Days Of JavaScript](../../images/banners/day_1_3.png)
1919

20-
- [📔 Day 3](#-day-3)
20+
- [📔 Ngày 3](#-day-3)
2121
- [Booleans](#booleans)
22-
- [Truthy values](#truthy-values)
23-
- [Falsy values](#falsy-values)
24-
- [Undefined](#undefined)
25-
- [Null](#null)
26-
- [Operators](#operators)
27-
- [Assignment operators](#assignment-operators)
28-
- [Arithmetic Operators](#arithmetic-operators)
29-
- [Comparison Operators](#comparison-operators)
30-
- [Logical Operators](#logical-operators)
31-
- [Increment Operator](#increment-operator)
32-
- [Decrement Operator](#decrement-operator)
33-
- [Ternary Operators](#ternary-operators)
34-
- [Operator Precedence](#operator-precedence)
35-
- [Window Methods](#window-methods)
36-
- [Window alert() method](#window-alert-method)
37-
- [Window prompt() method](#window-prompt-method)
38-
- [Window confirm() method](#window-confirm-method)
39-
- [Date Object](#date-object)
40-
- [Creating a time object](#creating-a-time-object)
41-
- [Getting full year](#getting-full-year)
42-
- [Getting month](#getting-month)
43-
- [Getting date](#getting-date)
44-
- [Getting day](#getting-day)
22+
- [Giá trị đúng](#truthy-values)
23+
- [Giá trị sai](#falsy-values)
24+
- [Không xác định](#undefined)
25+
- [Giá trị không tồn tại](#null)
26+
- [Toán tử](#operators)
27+
- [Toán tử gán](#assignment-operators)
28+
- [Toán tử số học](#arithmetic-operators)
29+
- [Toán tử so sánh](#comparison-operators)
30+
- [Toán tử logic](#logical-operators)
31+
- [Toán tử tăng](#increment-operator)
32+
- [Toán tử giảm](#decrement-operator)
33+
- [Toán tử điều kiện](#ternary-operators)
34+
- [Độ ưu tiên của toán tử](#operator-precedence)
35+
- [Phương thức cửa sổ](#window-methods)
36+
- [Phương thức alert()](#window-alert-method)
37+
- [Phương thức prompt()](#window-prompt-method)
38+
- [Phương thức confirm()](#window-confirm-method)
39+
- [Đối tượng thời gian](#date-object)
40+
- [Tạo một đối tượng thời gian](#creating-a-time-object)
41+
- [Lấy giá trị năm](#getting-full-year)
42+
- [Lấy giá trị tháng](#getting-month)
43+
- [Lấy giá trị ngày](#getting-date)
44+
- [Lấy giá trị thứ trong tuần](#getting-day)
4545
- [Getting hours](#getting-hours)
4646
- [Getting minutes](#getting-minutes)
4747
- [Getting seconds](#getting-seconds)
4848
- [Getting time](#getting-time)
49-
- [💻 Day 3: Exercises](#-day-3-exercises)
50-
- [Exercises: Level 1](#exercises-level-1)
51-
- [Exercises: Level 2](#exercises-level-2)
52-
- [Exercises: Level 3](#exercises-level-3)
49+
- [💻 Ngày 3: Bài tập](#-day-3-exercises)
50+
- [Bài tập: Cấp độ 1](#exercises-level-1)
51+
- [Bài tập: Cấp độ 2](#exercises-level-2)
52+
- [Bài tập: Cấp độ 3](#exercises-level-3)
5353

5454
# 📔 Day 3
5555

5656
## Booleans
5757

58-
A boolean data type represents one of the two values:_true_ or _false_. Boolean value is either true or false. The use of these data types will be clear when you start the comparison operator. Any comparisons return a boolean value which is either true or false.
5958

60-
**Example: Boolean Values**
59+
Dữ liệu boolean thể hiện một trong hai giá trị: True (đúng) hoặc False (sai). Giá trị của boolean sẽ là đúng (True) hoặc sai (False). Việc sử dụng các kiểu dữ liệu này sẽ rõ ràng khi bạn sử dụng toán tử so sánh. Bất kì phương thức so sánh nào đều sẽ trả về giá trị boolean đúng hoặc sai.
60+
61+
**Ví dụ: Giá Trị Boolean**
6162

6263
```js
6364
let isLightOn = true
@@ -68,9 +69,9 @@ let truValue = 4 > 3 // true
6869
let falseValue = 4 < 3 // false
6970
```
7071

71-
We agreed that boolean values are either true or false.
72+
Chúng ta có thể thấy được boolean chỉ có giá trị đúng hoặc sai.
7273

73-
### Truthy values
74+
### Giá trị đúng
7475

7576
- All numbers(positive and negative) are truthy except zero
7677
- All strings are truthy except an empty string ('')

0 commit comments

Comments
 (0)