File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ One liner clean code snippets in javascript/react with ES6 syntax
1818
1919
20201 . ### Add a key-value pair in object conditionally
21-
22-
2321
2422 ** Plain conditional operation**
2523
@@ -43,7 +41,7 @@ One liner clean code snippets in javascript/react with ES6 syntax
4341
4442 1. **While defining the object:**
4543
46- -- We are injecting the new property at time of defining the object only
44+ - We are injecting the new property at time of defining the object only
4745
4846 ```javascript
4947 const is_employee=true;
@@ -58,7 +56,7 @@ One liner clean code snippets in javascript/react with ES6 syntax
5856
5957 2. ** After object has been defined**
6058
61- -- We are injecting the new property after the object has been defined with its default key value pairs.
59+ - We are injecting the new property after the object has been defined with its default key value pairs.
6260
6361 ` ` ` javascript
6462 const is_employee=true;
@@ -97,7 +95,7 @@ One liner clean code snippets in javascript/react with ES6 syntax
9795 ` ` `
9896
9997
100- -- We will use Spread operator to delete one property inside the previously defined object.
98+ - We will use Spread operator to delete one property inside the previously defined object.
10199
102100 ` ` ` javascript
103101 let student={
You can’t perform that action at this time.
0 commit comments