Repository navigation
Feat/javascript questions - #61
Merged
Merged
Conversation
TypeScript soruları gelince dil adları ve "tip" hemen her cevapta geçecek; tek başına alias olmaları kavramı bedavaya kazandırırdı. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kategori TypeScript sorularıyla genişliyor. "JavaScript & TypeScript" 1280 genişlikte sol makarada kesiliyordu (184 px metin, 164 px hücre); "JS & TypeScript" 120 px. id değişmedi. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JavaScript soruları bu iki kelimeyi kaçınılmaz olarak kullanıyor; tek başına alias olarak 5'ten fazla başka cevapta geçip sık tek kelime uyarısı veriyorlardı. java-spring-aop-proxy-types'ta "this üzerinden", java-spring-self-invocation'da "this.save", web-cookie-domain-path'te "kapsamını genişlet". Doğal cevap sonuçları değişmedi. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tipler ve eşitlik: == ile ===, truthy/falsy, NaN ve Object.is; null-vs-undefined bu topic'e taşındı (id aynı). Kapsam ve hoisting: var/let/const, hoisting, temporal dead zone. Closure ve this: closure, this bağlama (öncelik sırası, d3), call/apply/bind, arrow function. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'ları ifadeye çevir Asenkron ve prototype soruları "prototype", "promise", "setTimeout", "finally" ve "motor" kelimelerini zorunlu olarak kullanıyor; bunlar başka kategorilerde tek başına alias'tı, sık tek kelime ve alt dize uyarısı veriyordu (getPrototypeOf → prototype, unhandledrejection → reject). - java-spring-bean-scopes: prototype → prototype scope - java-reentrantlock: finally → finally bloğ - react-batching: promise → promise gibi, settimeout → asenkron kod - react-error-boundary: settimeout → settimeout callback - react-fiber: motor çıkarıldı (reconciliation motor duruyor) - react-lazy: reject → reject edil Model cevaplar ve doğal cevap sonuçları değişmedi. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nesne ve prototype: prototype zinciri (followUp: prototype pollution), class'ın altındaki yapı, shallow/deep copy ve structuredClone. Asenkron: event loop, microtask ile task sırası (d3), Promise durumları, Promise birleştiricileri, async/await'te hata yakalama (d3: await edilmeyen promise, unhandled rejection). null-vs-undefined'daki "typeof" alias'ı "typeof null" oldu: getPrototypeOf'un içinde eşleşiyordu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
addEventListener, stopPropagation ve setInterval gibi adlar JavaScript cevaplarında kaçınılmaz; içlerinde başka kategorilerin tek kelimelik alias'ları eşleşiyordu. - cybersecurity-dom-xss: settimeout çıkarıldı (5 başka cevapta geçiyor) - java-memory-leak: listener → listener'lar - web-dns-resolution: propagation çıkarıldı (stoppropagation tuzağı) - web-polling: interval çıkarıldı (setinterval tuzağı) Model cevaplar ve doğal cevap sonuçları değişmedi. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eri (10) Modüller: ESM ile CommonJS (d3: live binding ve interop). DOM olayları: capture/bubble, event delegation, debounce/throttle. Bellek: garbage collection ve sızıntılar, WeakMap/WeakRef. Dil özellikleri: generator ve iterator, Symbol, ?. ve ??, strict mode. javascript-closure'daki "referansla" alias'ı "referansla hatırla" oldu: "referanslar" kelimesinin içinde eşleşip 5 başka cevapta geçiyordu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nı yaz Yeni içerik bir kelimeyi kaçınılmaz olarak kullanıyorsa başka kategorideki tek kelimelik genel alias ifadeye daraltılabilir. Şartlar: model cevap ve doğal cevap skoru değişmez, değişiklik listelenir. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rı daralt TypeScript cevapları "extends", "tipleri" ve "typing"/"mapping" kelimelerini kaçınılmaz olarak kullanıyor; bunlar başka kategorilerde tek kelimelik alias'tı. - java-interface-vs-abstract: extends → extend edebil - java-oop-principles: extends → extends ile - sql-union-vs-union-all: tipleri → kolonların tipleri - web-websocket: ping → ping mesaj (typing, mapping, stripping tuzağı) Model cevaplar kendi kavramlarının hepsini tutuyor, doğal cevap skorları değişmedi (java 327/367, sql 125/137, web 163/205). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (9) TS temelleri: type ile interface, structural typing, any/unknown/never, tip silme ve runtime doğrulama (Zod, z.infer). TS generics: generic ve constraint, keyof ve typeof. TS tip türetme: utility types, conditional types (d3), mapped types (d3). Yedi TypeScript sorusunun doğal cevapları da probe dosyasına eklendi; soruları sonraki commit'te geliyor. javascript-class-under-the-hood'daki "extends" alias'ı "extends de" oldu: TS cevaplarında 6 başka yerde geçiyordu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n alias'ları daralt TypeScript cevaplarındaki "literal", "instanceof", "[]", "denetim" ve noUncheckedIndexedAccess, exactOptionalPropertyTypes, erasableSyntaxOnly, useUnknownInCatchVariables gibi adlar başka kategorilerin tek kelimelik alias'larını tutuyordu. - java-string-immutable: literal → literal string - java-generics-erasure: instanceof → instanceof list - java-spring-injection-types: optional çıkarıldı - java-spring-rollback-rules: unchecked çıkarıldı - java-spring-data-access-exception: unchecked → unchecked ol, unchecked'tır eklendi - react-useeffect: [] çıkarıldı - sql-exception: syntax → syntax hata - sql-null-handling: unknown çıkarıldı - sql-trigger: denetim çıkarıldı - web-400-vs-422: syntax çıkarıldı Model cevaplar kendi kavramlarının hepsini tutuyor, doğal cevap skorları değişmedi (java 327/367, react 177/180, sql 125/137, web 163/205). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…arı (7) TS narrowing: narrowing ve type guard, discriminated union. TS as ve literal: as ile satisfies, as const ve readonly, enum ile literal union (çalışma anı kodu, erasableSyntaxOnly ve type stripping ilişkisi yan cümlede). TS yapılandırma: strict ayarları, declaration dosyaları. Kendi kategorimizde iki alias daraltıldı: truthy-falsy'den "[]", ts-utility-types'tan "optional" (string[] ve exactOptionalPropertyTypes içinde eşleşiyordu). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 38808047 | Triggered | Generic Password | 304c248 | src/content/tr/content-javascript.json | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.