Skip to content

Commit 2a361d3

Browse files
authored
Merge pull request #3652 from madhusudan-kulkarni/patch-1
docs: replaced a dead link with a similar link from MDN docs
2 parents 2d41aaf + 822742f commit 2a361d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/1/en/part1a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ The function is then assigned to a constant variable <i>App</i>:
142142
const App = ...
143143
```
144144

145-
There are a few ways to define functions in JavaScript. Here we will use [arrow functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions), which are described in a newer version of JavaScript known as [ECMAScript 6](http://es6-features.org/#Constants), also called ES6.
145+
There are a few ways to define functions in JavaScript. Here we will use [arrow functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions), which are described in a newer version of JavaScript known as [ECMAScript 6](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const), also called ES6.
146146

147147
Because the function consists of only a single expression we have used a shorthand, which represents this piece of code:
148148

0 commit comments

Comments
 (0)