mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-19 00:02:27 -05:00
@@ -16,6 +16,9 @@ function oldOne() {
|
||||
const newOne = () => {
|
||||
console.log("Hello World..!");
|
||||
}
|
||||
|
||||
// Or on one line
|
||||
const newOne = () => console.log("Hello World..!");
|
||||
```
|
||||
|
||||
The new syntax may be confusing a little bit. But I will try to explain the syntax.
|
||||
|
||||
Reference in New Issue
Block a user