You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both functions achieve the same result, but the new syntax allows you to be more concise.
59
59
Beware! Readability is more important than conciseness so you might want to write your function like this if you are working in a team and not everybody is totally up-to-date with ES6.
60
60
61
-
```js
61
+
```javascript
62
62
constarrowFunction= (name) => {
63
63
return`hello ${name}`;
64
64
}
@@ -175,7 +175,7 @@ The `arguments object` is an array-like object that we can access from inside fu
0 commit comments