Skip to content

Commit b368d62

Browse files
dzencotv1valasvegan
authored andcommitted
typo
1 parent 647a7cd commit b368d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/40-generics/10-generics-overview/description.ru.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ theory: |
8888
8989
```typescript
9090
function first<T>(coll: Array<T>): T | null {
91-
return coll.length > 0 : coll[0] : null;
91+
return coll.length > 0 ? coll[0] : null;
9292
}
9393
9494
first([]); // null

0 commit comments

Comments
 (0)