Skip to content

Commit 135b3de

Browse files
Update 1-js/02-first-steps/07-type-conversions/article.md
Co-authored-by: Bogdan Bacosca <bogdanbacosca@protonmail.com>
1 parent 42c0af0 commit 135b3de

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
@@ -39,7 +39,7 @@ Conversia numerică se petrece in funcții și expresii matematice automat.
3939
De exemplu, când împărțirea `/` este aplicată non-numerelor:
4040

4141
```js run
42-
alert( "6" / "2" ); // 3, șirurile sunt convertite către numere
42+
alert( "6" / "2" ); // 3, șirurile sunt convertite în numere
4343
```
4444

4545
Putem folosi funcția `Number(value)` pentru a converti explicit o `value` către un număr.

0 commit comments

Comments
 (0)