Spacing
This commit is contained in:
parent
43c197889e
commit
0aaa498d2c
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ Just loop over the object and `return false` immediately if there's at least one
|
||||||
|
|
||||||
```js
|
```js
|
||||||
function isEmpty(obj) {
|
function isEmpty(obj) {
|
||||||
for(let key in obj) {
|
for (let key in obj) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue