Skip to content

Commit ae50d16

Browse files
committed
little edit
1 parent 252b986 commit ae50d16

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

assignments/function-conversion.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// Take the commented ES5 syntax and convert it to ES6 arrow Syntax
22

3-
let myFunction = () => {
4-
console.log("Function was invoked!");
5-
};
3+
let myFunction = () => console.log("Function was invoked!");
4+
65
myFunction();
76

87
let anotherFunction = param => param;

0 commit comments

Comments
 (0)