Skip to content

Commit

Permalink
update(JS): web/javascript/reference/global_objects/object
Browse files Browse the repository at this point in the history
  • Loading branch information
undead404 authored and AdriandeCita committed Jul 31, 2022
1 parent d880e2a commit 2466258
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ browser-compat: javascript.builtins.Object

Конструктор `Object` створює об'єктну обгортку над переданим значенням.

- Якщо передане значення дорівнює {{jsxref("null")}} чи {{jsxref("undefined")}}, буде повернено порожній об'єкт.
- Якщо передане значення дорівнює [`null`](/uk/docs/Web/JavaScript/Reference/Operators/null) чи {{jsxref("undefined")}}, буде повернено порожній об'єкт.
- Якщо передане значення уже є об'єктом, буде повернено це значення.
- В інших випадках – він поверне об'єкт, тип якого відповідає переданому значенню.

Expand Down Expand Up @@ -251,4 +251,4 @@ mime.greet();

## Дивіться також

- [Ініціалізатор обєкта](/uk/docs/Web/JavaScript/Reference/Operators/Object_initializer)
- [Ініціалізатор об'єкта](/uk/docs/Web/JavaScript/Reference/Operators/Object_initializer)

0 comments on commit 2466258

Please sign in to comment.