Skip to content

Commit 459c937

Browse files
authored
Update README.md
Missing return statement in 3.7
1 parent bf90b1f commit 459c937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ _[From video lecture 3.4]_
255255

256256
```js
257257
let arrowFunction = (name = 'Coders') => {
258-
`Welcome ${name}`;
258+
return `Welcome ${name}`;
259259
};
260260

261261
console.log(arrowFunction('Programmers'));

0 commit comments

Comments
 (0)