We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 252b986 commit ae50d16Copy full SHA for ae50d16
assignments/function-conversion.js
@@ -1,8 +1,7 @@
1
// Take the commented ES5 syntax and convert it to ES6 arrow Syntax
2
3
-let myFunction = () => {
4
- console.log("Function was invoked!");
5
-};
+let myFunction = () => console.log("Function was invoked!");
+
6
myFunction();
7
8
let anotherFunction = param => param;
0 commit comments