I don't know exactly what is the flow of the application, but can this be:
```
let childId = children[i].child._delegate.app.get_id();
if (childId === id ||
    (this._dragPlaceholder &&
         children[i] === this._dragPlaceholder)) {
    continue;
}
```

If no - then just use ``===`` instead of ``==``.