Skip to content

Commit 5447970

Browse files
committed
Fix tasks
1 parent 5067d13 commit 5447970

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Exercises.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Prepare two implementations of `inc` function:
1414
call example: `let a = 5; const b = inc(a); console.dir({ a, b });`
1515
2. Second with signature `inc(num: Num)` where `Num` is object with field `n`,
1616
so function will change field of the object passed by reference,
17-
call example: `let obj = { n: 5} ; inc(obj); console.dir(obj);`
17+
call example: `let obj = { n: 5 }; inc(obj); console.dir(obj);`
1818

1919
## Types
2020

Exercises.ru.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
пример вызова: `let a = 5; const b = inc(a); console.dir({ a, b });`
1515
2. C сигнатурой `inc(num: Num)`, где `Num` является объектом с полем `n`,
1616
чтобы функция изменила поле исходного объекта переданного по ссылке,
17-
пример вызова `let obj = { n: 5} ; inc(obj); console.dir(obj);`
17+
пример вызова `let obj = { n: 5 }; inc(obj); console.dir(obj);`
1818

1919
## Типы объектов
2020

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy