Kaydet (Commit) ccca9ec4 authored tarafından Ali GOREN's avatar Ali GOREN

Avoid negative conditionals Türkçeleştirildi

üst 18223391
......@@ -702,26 +702,26 @@ if (shouldShowSpinner(fsmInstance, listNodeInstance)) {
```
**[⬆ en başa dön](#içindekiler)**
### Avoid negative conditionals
### Negatif Koşullardan Kaçının
**Kötü:**
```javascript
function isDOMNodeNotPresent(node) {
function domYaratilmadi(node) {
// ...
}
if (!isDOMNodeNotPresent(node)) {
if (!domYaratilmadi(node)) {
// ...
}
```
**İyi:**
```javascript
function isDOMNodePresent(node) {
function domYaratildi(node) {
// ...
}
if (isDOMNodePresent(node)) {
if (domYaratildi(node)) {
// ...
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment