Skip to content

Commit 144b8a1

Browse files
Yangi ma'lumot kiritildi
1 parent e60d0cc commit 144b8a1

File tree

4 files changed

+27
-22
lines changed

4 files changed

+27
-22
lines changed

1-js/01-getting-started/1-intro/article.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ Ammo, rivojlanish jarayonida, JavaScript [ECMAScript] (http://en.wikipedia.org/w
2020

2121
Bugungi kunda JavaScript nafaqat brauzerda, balki serverda yoki aslida [JavaScript interpretatori](https://en.wikipedia.org/wiki/JavaScript_engine) deb nomlangan maxsus dasturga ega bo'lgan har qanday qurilmada ham bajarilishi mumkin.
2222

23-
The browser has an embedded engine sometimes called a "JavaScript virtual machine".
23+
Brauzerlar o'z JavaScript interpretatorlariga ega, ular gohida "JavaScript virtual mashinasi" deb atalanadi.
2424

25-
Different engines have different "codenames". For example:
25+
Har bir interpretatorni o'z nomi mavjud. Masalan:
2626

27-
- [V8](https://en.wikipedia.org/wiki/V8_(JavaScript_engine)) -- in Chrome and Opera.
28-
- [SpiderMonkey](https://en.wikipedia.org/wiki/SpiderMonkey) -- in Firefox.
27+
- [V8](https://en.wikipedia.org/wiki/V8_(JavaScript_engine)) -- Chrome va Opera brauzerlarida qo'llanadi.
28+
- [SpiderMonkey](https://en.wikipedia.org/wiki/SpiderMonkey) -- Firefox brauzerida.
2929
- ...There are other codenames like "Trident" and "Chakra" for different versions of IE, "ChakraCore" for Microsoft Edge, "Nitro" and "SquirrelFish" for Safari, etc.
3030

3131
The terms above are good to remember because they are used in developer articles on the internet. We'll use them too. For instance, if "a feature X is supported by V8", then it probably works in Chrome and Opera.
3232

33-
```smart header="How do engines work?"
33+
```smart header="Interpretatorlar ishni qanday bajarishadi?"
3434
3535
Engines are complicated. But the basics are easy.
3636
@@ -41,15 +41,15 @@ Engines are complicated. But the basics are easy.
4141
The engine applies optimizations at each step of the process. It even watches the compiled script as it runs, analyzes the data that flows through it, and applies optimizations to the machine code based on that knowledge. When it's done, scripts run quite fast.
4242
```
4343

44-
## What can in-browser JavaScript do?
44+
## What can in-browser JavaScript do? Brauzerdagi JavaScript nimani bajara oladi?
4545

4646
Modern JavaScript is a "safe" programming language. It does not provide low-level access to memory or CPU, because it was initially created for browsers which do not require it.
4747

4848
JavaScript's capabilities greatly depend on the environment it's running in. For instance, [Node.js](https://wikipedia.org/wiki/Node.js) supports functions that allow JavaScript to read/write arbitrary files, perform network requests, etc.
4949

5050
In-browser JavaScript can do everything related to webpage manipulation, interaction with the user, and the webserver.
5151

52-
For instance, in-browser JavaScript is able to:
52+
Masalan:
5353

5454
- Add new HTML to the page, change the existing content, modify styles.
5555
- React to user actions, run on mouse clicks, pointer movements, key presses.

1-js/02-first-steps/01-hello-world/article.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ But we need a working environment to run our scripts and, since this book is onl
77
So first, let's see how we attach a script to a webpage. For server-side environments (like Node.js), you can execute the script with a command like `"node my.js"`.
88

99

10-
## The "script" tag
10+
## HTML "script" tegi
1111

1212
JavaScript programs can be inserted into any part of an HTML document with the help of the `<script>` tag.
1313

14-
For instance:
14+
Masalan:
1515

1616
```html run height=100
1717
<!DOCTYPE HTML>
1818
<html>
1919

2020
<body>
2121

22-
<p>Before the script...</p>
22+
<p>Skriptdan oldin...</p>
2323

2424
*!*
2525
<script>
2626
alert( 'Hello, world!' );
2727
</script>
2828
*/!*
2929

30-
<p>...After the script.</p>
30+
<p>...Skriptdan keyin.</p>
3131

3232
</body>
3333

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Data types
1+
# Ma'lumot turlari
22

33
A variable in JavaScript can contain any data. A variable can at one moment be a string and at another be a number:
44

55
```js
6-
// no error
6+
// quyidagi kod xato emas
77
let message = "hello";
88
message = 123456;
99
```

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,39 @@
11
# O'zbek tilida zamonaviy JavaScript darsligi
22

3-
Ushbu darslik ingliz tilidan tarjima qilinmoqda. Darslinki ingliz tili vesriyasi <https://javascript.info>-da joylashgan.
3+
Ushbu darslik ingliz tilidan tarjima qilinmoqda. Darslinki ingliz tili vesriyasi <https://javascript.info>-da joylashgan.
4+
Tarjimamizda xatolar mavjud bo'lishi mumkin, shunda ularni aniqlasangiz ushbu repozitoriyning Issues[https://#] bo'limida bizga murojaat qilishingizni so'raymiz.
45

56
## Tarjimalar
67

7-
Biz darslikni turli tillarda taqdim etishni xohlaymiz, shuning uchun, iltimos bizga tarjima qilishga yordam bering.
8+
Biz darslikni turli tillarda taqdim etishni xohlaymiz, shuning uchun, iltimos bizga o'z tilingizga tarjima qilishga yordam bering.
89
Batafsil ma'lumot uchun quyidagi havolaga o'ting <https://github.com/javascript-tutorial/translate>.
910

1011
## Hissalar
1112

12-
Shuningdek, biz boshqa odamlar bilan hamkorlikda ishlashni xohlaymiz.
13+
Bizning jamoamiz boshqa odamlar bilan hamkorlikda ishlashni xohlaydi. Shuning uchun o'zbek tili tarjimasiga o'z hissangizni qo'shing!
1314

14-
Biror narsa noto'g'rimi? Mavzu yo'qmi? Buni odamlarga tushuntirib, Pull Request (PR) orqali qo'shing👏
15+
Darslikda biror narsa noto'g'rimi? Yoki kerakli mavzu yo'qmi? Buni bizga tushuntirib, Pull Request (PR) orqali o'z murojaatingizni qoldiring.
1516

16-
**You can edit the text in any editor.** The tutorial uses enhanced "markdown" format, easy to grasp. And if you want to see how it looks on-site, there's a server to run the tutorial locally at <https://github.com/javascript-tutorial/server>.
17+
**Tarjimani siz har bir matn mutaxarririda osonligicha yozishingiz mumkin** Darslikni matni oson va qulay Markdown tilida yozilgan. Agar siz darslikni loyihasini veb-sahifa tarzida ko'rmoqchi bo'lsangiz, unda siz mahalliy server tashkil etishingiz kerak. Shu mavzu haqida batafsil ma'lumot olish uchun quyidagi maqolaga o'ting <https://github.com/javascript-tutorial/server>.
1718

1819
Tarjima ishtirokchilari ro'yxati <https://javascript.info/about#contributors>-da mavjud.
1920

2021
## Loyihaning tuzilishi
2122

2223
Har bir bob, maqola yoki mashq o'z papkasiga ega.
2324

24-
Papka `N-url` kabi nomlanadi, bu yerda `N` - saralash maqsadlari uchun raqam, `url` esa materiallarni URL qismi.
25+
Papka `N-url` kabi nomlanadi, bu yerda `N` - saralash maqsadlari uchun raqamlar, `url` esa materiallarni URL qismlari.
2526

2627
Materialning turi papka ichidagi fayl bilan belgilanadi:
2728

2829
- `index.md` bobni belgilash uchun
2930
- `article.md` maqolani belgilash uchun
30-
- `task.md` mashqlarni belgilash uchun (yechimi esa `solution.md` faylida joylashishi kerak)
31+
- `task.md` mashqlarni belgilash uchun (yechimi mavjud bo'lsa `solution.md` faylida joylanadi)
3132

32-
Bu fayllarning har biri `# Asosiy sarlavhadan` boshlanadi.
33+
Bu fayllarning har biri `# Asosiy sarlavhadan` boshlanadi.
3334

34-
Yangi ma'lumotni kiritish juda oson...
35+
...
36+
37+
E'tiboringiz uchun rahmat!
38+
39+
Elbek.

0 commit comments

Comments
 (0)