Skip to content

Commit c9e9243

Browse files
otmon76danipoma
andauthored
Update 1-js/02-first-steps/07-type-conversions/article.md
Co-authored-by: Daniel Pomajbík <[email protected]>
1 parent 23b73be commit c9e9243

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
@@ -45,7 +45,7 @@ alert( "6" / "2" ); // 3, řetězce se konvertují na čísla
4545
Pro explicitní konverzi hodnoty `hodnota` na číslo můžeme použít funkci `Number(hodnota)`:
4646

4747
```js run
48-
let str = "123";
48+
let řtzc = "123";
4949
alert(typeof řtzc); // string (řetězec)
5050

5151
let num = Number(str); // stane se z něj číslo 123

0 commit comments

Comments
 (0)