Skip to content

Commit e50b6cc

Browse files
committed
minor
1 parent ccfd721 commit e50b6cc

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

‎1-js/02-first-steps/14-function-basics/article.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,15 @@ That doesn't work, because JavaScript assumes a semicolon after `return`. That'l
338338
return*!*;*/!*
339339
(some + long + expression + or + whatever * f(a) + f(b))
340340
```
341-
So, it effectively becomes an empty return.
342-
If we wanted our expression to wrap across multiple lines, we would have to put the opening parenthesis in the same line as the `return` statement as follows:
341+
342+
So, it effectively becomes an empty return.
343+
344+
If we want our expression to wrap across multiple lines, we can put the opening parentheses in the same line as the `return` statement as follows:
343345
344346
```js
345347
return (
346-
some + long + expression
347-
+ or +
348+
some + long + expression
349+
+ or +
348350
whatever * f(a) + f(b)
349351
)
350352
```

‎2-ui/5-loading/02-script-async-defer/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ loadScript("/article/script-async-defer/small.js");
178178

179179
## Summary
180180

181-
Both `async` and `defer` have one common thing: they don't block page rendering. So the user can read page content and get acquanted with the page immediately.
181+
Both `async` and `defer` have one common thing: downloading of such scripts doesn't block page rendering. So the user can read page content and get acquanted with the page immediately.
182182

183183
But there are also essential differences between them:
184184

0 commit comments

Comments
 (0)