← 输入框|github.com|刷新
Skip to content

Nullish coalescing operator '??' - #419

Open
halilenesozdemir wants to merge 2 commits into
javascript-tutorial:masterfrom
halilenesozdemir:feat/nullish-coalescing
Open

halilenesozdemir wants to merge 2 commits into
javascript-tutorial:masterfrom
halilenesozdemir:feat/nullish-coalescing

Conversation

@halilenesozdemir

Copy link
Copy Markdown

Orijinaldeki "Nullish coalescing operator '??'" makalesinin çevirisi. Makale Türkçe depoda hiç yoktu (#1'deki listede de yer almıyor).

#418 üzerine kurulu, onunla birlikte merge edilmeli (makale 12 numaraya yerleşiyor).

  • Kod blokları orijinaldeki gibi bırakıldı (Kod Blokları Türkçeye Çevrilmemeli #101); yalnızca anlatım ve orijinaldeki kod yorumları çevrildi.
  • "Önceki bölüm" bağlantısının çalışması için Mantıksal Operatörler'deki ilgili başlığa orijinal çapa adı eklendi: [#or-finds-the-first-truthy-value].
  • Örnekler Node'da çalıştırılıp çıktılar kontrol edildi.

Terimler: nullish birleştirme operatörü, tanımlı (defined), doğru/yanlış kabul edilen (truthy/falsy), öncelik, sözdizimi hatası. Farklı bir tercih varsa düzeltebilirim.

Renumber 1-js/02-first-steps folders so the chapter order matches upstream (alert/prompt/confirm before type conversions; 12 left free for the nullish coalescing article). Renames only, no content changes. Refs javascript-tutorial#366.
Translate the nullish coalescing article from en.javascript.info. Code blocks are kept as in upstream; only prose and code comments are translated. Adds the upstream anchor to the logical operators heading so the cross-link resolves.
@CLAassistant

CLAassistant commented Oct 24, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

3 participants