This commit is contained in:
Alexander 2017-09-28 07:31:09 +03:00 committed by GitHub
parent 43c197889e
commit 0aaa498d2c

View file

@ -2,7 +2,7 @@ Just loop over the object and `return false` immediately if there's at least one
```js
function isEmpty(obj) {
for(let key in obj) {
for (let key in obj) {
return false;
}
return true;