Skip to content

Commit 95c34ad

Browse files
committed
1.2.5. Article - BigInt
1 parent 2e3a60e commit 95c34ad

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

1-js/02-first-steps/05-types/article.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,21 @@ Biz <info:number> fəslində rəqəmlərlə işləməyi daha ətraflı öyrənə
6565

6666
## BigInt
6767

68-
In JavaScript, the "number" type cannot represent integer values larger than <code>2<sup>53</sup></code> (or less than <code>-2<sup>53</sup></code> for negatives), that's a technical limitation caused by their internal representation. That's about 16 decimal digits, so for most purposes the limitation isn't a problem, but sometimes we need really big numbers, e.g. for cryptography or microsecond-precision timestamps.
68+
JavaScript-"rəqəm" (`number`) tipi <code>2<sup>53</sup></code>-dən böyük (və ya <code>-2<sup>53</sup></code>-dən kiçik) tam ədədləri ifadə edə bilmir. Bu, onların daxili təqdimatındakı texniki məhdudiyyətdir. Bu, təxminən 16 onluq rəqəmə bərabərdir və əksər hallarda bu məhdudiyyət problem yaratmır. Lakin bəzən, məsələn, kriptoqrafiya və ya mikro-saniyə dəqiqliyi ilə vaxt ölçmələri üçün çox böyük ədədlərə ehtiyac duyula bilər.
6969

70-
`BigInt` type was recently added to the language to represent integers of arbitrary length.
70+
Dilə yaxın zamanda əlavə edilmiş `BigInt` tipi istənilən uzunluqda tam ədədləri təmsil etmək üçün istifadə olunur.
7171

72-
A `BigInt` is created by appending `n` to the end of an integer literal:
72+
`BigInt` yaratmaq üçün tam ədədin sonuna `n` əlavə olunur:
7373

7474
```js
75-
// the "n" at the end means it's a BigInt
75+
// sondakı "n" onun bir `BigInt` olduğunu bildirir
7676
const bigInt = 1234567890123456789012345678901234567890n;
7777
```
7878

79-
As `BigInt` numbers are rarely needed, we devoted them a separate chapter <info:bigint>.
79+
`BigInt` rəqəmlərə nadir hallarda ehtiyac duyulduğundan, bu mövzuya xüsusi bir fəsil (<info:bigint>) həsr etmişik.
8080

81-
```smart header="Compatability issues"
82-
Right now `BigInt` is supported in Firefox and Chrome, but not in Safari/IE/Edge.
81+
```smart header="Uyğunluq problemləri"
82+
Hal-hazırda `BigInt` Firefox Chrome-da dəstəklənir, lakin Safari, IE və Edge-də dəstəklənmir.
8383
```
8484

8585
## String

0 commit comments

Comments
 (0)