Skip to content

Commit eb013b4

Browse files
authored
Update README.md
1 parent 194b285 commit eb013b4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The destructuring assignment syntax is a JavaScript expression that makes it pos
66

77
Destructuring means to break down a complex structure into simpler parts. With the syntax of destructuring, you can extract smaller fragments from objects and arrays. It can be used for assignments and declaration of a variable.
88

9-
Destructuring saves you time and lines of code. One line accomplishes what 2 or 10 lines of code do. Specifically for React destructuring helps you keep your code DRY.
9+
Destructuring saves you time and lines of code. One line accomplishes what 2 or 10 lines of code do. Specifically for React destructuring helps you keep your code DRY (Don't Repeat Yourself).
1010

1111
Destructuring Variable / Assignment are including:
1212

@@ -18,7 +18,7 @@ Destructuring Variable / Assignment are including:
1818

1919
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Skipping-Items.js
2020

21-
#### . Swap Items
21+
#### 3. Swap Items
2222

2323
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Swap-Items.js
2424

@@ -66,12 +66,11 @@ Destructuring Variable / Assignment are including:
6666
### B. DESTRUCTURING FUNCTION
6767

6868
#### 1. Destructuring function return value
69-
70-
1.1 Destructuring Array
69+
##### 1.1 Destructuring Array
7170

7271
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Function-Return-Destructuring-Array.js
7372

74-
1.2 Destructuring Object
73+
##### 1.2 Destructuring Object
7574

7675
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Function-Return-Destructuring-Object.js
7776

0 commit comments

Comments
 (0)