Skip to content

Commit 0f1f0d2

Browse files
author
Umut Isik
committed
Minor
1 parent fe95e5a commit 0f1f0d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ function showEmployeeList(employees) {
503503

504504
**[⬆ başa dön](#içindekiler)**
505505

506-
### Set default objects with Object.assign
506+
### Object.assign ile varsayılan nesneleri ayarlama
507507

508508
**Yanlış:**
509509

@@ -531,7 +531,7 @@ createMenu(menuConfig);
531531
```javascript
532532
const menuConfig = {
533533
title: "Order",
534-
// User did not include 'body' key
534+
// Kullanıcı 'body' değerini atamamış
535535
buttonText: "Send",
536536
cancellable: true
537537
};
@@ -547,7 +547,7 @@ function createMenu(config) {
547547
config
548548
);
549549

550-
// config now equals: {title: "Order", body: "Bar", buttonText: "Send", cancellable: true}
550+
// config artık bu şekilde: {title: "Order", body: "Bar", buttonText: "Send", cancellable: true}
551551
// ...
552552
}
553553

@@ -556,9 +556,9 @@ createMenu(menuConfig);
556556

557557
**[⬆ başa dön](#içindekiler)**
558558

559-
### Don't use flags as function parameters
559+
### Karar verici fonksiyon parametreleri kullanmayın
560560

561-
Flags tell your user that this function does more than one thing. Functions should do one thing. Split out your functions if they are following different code paths based on a boolean.
561+
Karar verici parametreler bir fonksiyonun birden fazla iş yaptığını gösterir. Fonksiyonlar tek iş yapmalılar. Boolean bir değer üzerinden yapacağı işe karar veren fonksiyonları birden fazla fonksiyona bölün.
562562

563563
**Yanlış:**
564564

0 commit comments

Comments
 (0)