Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate Strict Mode #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

GasimGasimzada
Copy link
Contributor

  • Introduction
  • "use strict"
  • Browser Console
  • Always "use strict"

@GasimGasimzada GasimGasimzada changed the title Translate Strict Mode [WIP] Translate Strict Mode Feb 14, 2020
@GasimGasimzada
Copy link
Contributor Author

GasimGasimzada commented Feb 14, 2020

[WIP] (Work in Progress) in the header means that I am still working on it. I suggest that you review these changes after I remove that "tag."

EDIT: It is ready to be reviewed

@GasimGasimzada GasimGasimzada changed the title [WIP] Translate Strict Mode Translate Strict Mode Feb 14, 2020
@@ -1,14 +1,14 @@
# "use strict" modern rejimi

Uzun zaman JavaScript heç bir uyğunluq olmadan inkişaf etdi. Dilə yeni xüsusiyyətlər əlavə olunur, köhnə xüsusiyyətlər isə dəyişmirdi.
Uzun zaman JavaScript heç bir uyğunluq problemi olmadan inkişaf etdirdi. Dilə yeni xüsusiyyətlər əlavə olunur, köhnə xüsusiyyətlər isə dəyişmirdi.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

etdirildi* ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dəyişilmirdi* ?


2009-cu ildə ECMAScript 5 (ES5) dərc olunana kimi bu problem aktual idi. Bu versiyada dilə yeni xüsusiyyətlər əlavə olunmaqdan əlavə, bəzi mövcud xüsusiyyətlər də dəyişdirildi. Köhnə kodun işləməsi üçün bu dəyişikliklərin çoxu standart formada söndürülüb. Bu xüsusiyyətləri aktivləşdirmək üçün `"use strict"` xüsusi direktivini əlavə etmək lazımdır.
2009-cu ildə ECMAScript 5 (ES5) dərc olunana kimi bu problem aktual idi. Lakin, bu versiyadan başlayaraq dilə yeni xüsusiyyətlər əlavə olunmaqdan əlavə, bəzi mövcud xüsusiyyətlər də dəyişdirildi. Köhnə kodun işləməsi üçün bu dəyişikliklərin çoxu standart rejimində söndürülüb. Bu xüsusiyyətləri aktivləşdirmək üçün `"use strict"` xüsusi direktivini əlavə etmək lazımdır.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rejimdə* ?

javascript-translate-bot pushed a commit that referenced this pull request Mar 24, 2020

```js no-strict
alert("some code");
// "use strict" below is ignored--it must be at the top
alert("bəzi kod");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"hər hansı kod"

```

Only comments may appear above `"use strict"`.
`"use strict"`-dən öncə yalnız kommentlər əlavə oluna bilər.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

öncə yalnız "şəhrlər" əlavə oluna bilər


For the future, when you use a browser console to test features, please note that it doesn't `use strict` by default.
Gələcəkdə, xüsusiyyətləri yoxlamaq üçün brauzer konsolundan istifadə etikdə nəzərə alın ki, `use strict` direktivini əl ilə aktivləşdirmək lazımdır.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

istifadə "etdikdə" nəzərə alın ki,


If it doesn't, the most reliable way to ensure `use strict` would be to input the code into console like this:
Əgər brauzer konsolunda birdən çox sətir ələvə etmək mümkün deyilsə, `use strict` ifadəsinin işləməsindən əmin olmaq üçün konsola aşağıdakı formalı kodu bilərsiniz:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ifadəsinin işləməsindən əmin olmaq üçün konsola aşağıdakı formalı kodu " daxil edə" bilərsiniz:


We have yet to cover the differences between strict mode and the "default" mode.
Biz, hələ ki, strikt və "standart" rejiminin fərqlərindən danışmamışıq.
Copy link

@azizaismayilova azizaismayilova Jul 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Biz hələki - you do not use a comma


In the next chapters, as we learn language features, we'll note the differences between the strict and default modes. Luckily, there aren't many and they actually make our lives better.
Gələcək səhifələrdə dilin xüsusiyyətlərindən danışdığımız zaman strikt və standart rejimlərinin fərqlərini qeyd edəcəyik. Xoşbəxtlikdən, bu fərqlər çox deyil və olan fərqlər birim işimizi rahatlaşdırır.
Copy link

@azizaismayilova azizaismayilova Jul 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Xoşbəxtlikdən (without comma)" bu fərqlər çox deyil və olan fərqlər "bizim" işimizi rahatlaşdırır.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants