Skip to content

Commit

Permalink
написал функцию, которая определяет пуст ли объект
Browse files Browse the repository at this point in the history
  • Loading branch information
Данейкин Илья Вячеславович authored and Данейкин Илья Вячеславович committed Sep 27, 2024
1 parent 7dcdf34 commit 819d614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2-module/2-task/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function isEmpty(obj) {
// ваш код...
return (Object.entries(obj)).length === 0;
}

0 comments on commit 819d614

Please sign in to comment.