Skip to content

Commit 89290c8

Browse files
authored
Update README.md
1 parent 0f94aea commit 89290c8

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Destructuring-in-Javascript
1+
# Destructuring in Javascript
22

3-
A. DESTRUCTURING ASSIGNMENT
3+
### A. DESTRUCTURING ASSIGNMENT
44

55
The destructuring assignment syntax is a JavaScript expression that makes it possible to unpack values from arrays, or properties from objects, into distinct variables.
66

@@ -10,62 +10,62 @@ Destructuring saves you time and lines of code. One line accomplishes what 2 or
1010

1111
Destructuring Variable / Assignment are including:
1212

13-
1. Destructuring Array - by using []
13+
#### 1. Destructuring Array - by using []
1414

1515
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Destructuring-Array.html
1616

17-
2. Skipping Items
17+
#### 2. Skipping Items
1818

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

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

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

25-
4. Return Value in a Function
25+
#### 4. Return Value in a Function
2626

2727
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Return-Value-in-Function.js
2828

29-
5. Rest Parameter in Array (...something)
29+
#### 5. Rest Parameter in Array (...something)
3030

3131
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Rest-Parameter.js
3232

33-
6. Destructuring Object - by using {}
33+
#### 6. Destructuring Object - by using {}
3434

3535
Object and nested object destructuring
3636

3737
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Destructuring-Object.js
3838

39-
7. Assignment without Object Declaration
39+
#### 7. Assignment without Object Declaration
4040

4141
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Assign-Without-Object-Declaration.js
4242

43-
8. Assignment to New Variable
43+
#### 8. Assignment to New Variable
4444

4545
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Assign-To-New-Variable.js
4646

47-
9. To Give Default Value
47+
#### 9. To Give Default Value
4848

4949
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Giving-Default-Value.js
5050

51-
10. To Give Default Value and Assignment to New Variable
51+
#### 10. To Give Default Value and Assignment to New Variable
5252

5353
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Giving-Default-Value-And-Assign-New-Variable.js
5454

55-
11. Rest Parameter in Object
55+
#### 11. Rest Parameter in Object
5656

5757
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Rest-Parameter-in-Object.js
5858

59-
12. Extract Fields of Function in Object Destructuring
59+
#### 12. Extract Fields of Function in Object Destructuring
6060

6161
Object destructuring by using function. Retrieves a field in an object, after it is passed as a parameter to a function.
6262
Including .map method to destructure an object.
6363

6464
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Extract-Fields-of-Function-in-Object-Destructuring.js
6565

66-
B. DESTRUCTURING FUNCTION
66+
### B. DESTRUCTURING FUNCTION
6767

68-
1. Destructuring function return value
68+
#### 1. Destructuring function return value
6969

7070
1.1 Destructuring Array
7171

@@ -75,7 +75,7 @@ B. DESTRUCTURING FUNCTION
7575

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

78-
2. Destructuring function arguments
78+
#### 2. Destructuring function arguments
7979

8080
* https://github.com/dwi-handoyo/Destructuring-in-Javascript/blob/main/Function-Arguments-Destructuring.js
8181

0 commit comments

Comments
 (0)