File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55``` js
66const add = (x ) => (y ) => {
77 const z = x + y;
8- console .log (x + ' + ' + y + ' = ' + z );
8+ console .log (` ${ x } + ${ y } = ${ z } ` );
99 return z;
1010};
1111```
@@ -24,7 +24,7 @@ const add = (x) => (y) => x + y;
2424``` js
2525const add = (x ) => (y ) => {
2626 const z = x + y;
27- console .log (x + ' + ' + y + ' = ' + z );
27+ console .log (` ${ x } + ${ y } = ${ z } ` );
2828 return add (z);
2929};
3030```
Original file line number Diff line number Diff line change 55``` js
66const add = (x ) => (y ) => {
77 const z = x + y;
8- console .log (x + ' + ' + y + ' = ' + z );
8+ console .log (` ${ x } + ${ y } = ${ z } ` );
99 return z;
1010};
1111```
@@ -24,7 +24,7 @@ const add = (x) => (y) => x + y;
2424``` js
2525const add = (x ) => (y ) => {
2626 const z = x + y;
27- console .log (x + ' + ' + y + ' = ' + z );
27+ console .log (` ${ x } + ${ y } = ${ z } ` );
2828 return add (z);
2929};
3030```
You can’t perform that action at this time.
0 commit comments