Skip to content

Commit 97b9d09

Browse files
otmon76danipoma
andauthored
Update 1-js/02-first-steps/07-type-conversions/article.md
Co-authored-by: Daniel Pomajbík <60559058+danipoma@users.noreply.github.com>
1 parent c9e9243 commit 97b9d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/07-type-conversions/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Pro explicitní konverzi hodnoty `hodnota` na číslo můžeme použít funkci `
4848
let řtzc = "123";
4949
alert(typeof řtzc); // string (řetězec)
5050

51-
let num = Number(str); // stane se z něj číslo 123
51+
let čslo = Number(řtzc); // stane se z něj číslo 123
5252

5353
alert(typeof čslo); // number (číslo)
5454
```

0 commit comments

Comments
 (0)