Ссылочные типы данных
Beyond literals, any Object in JavaScript (including functions, arrays, regexp etc) are references. This means the following
Mutations are across all references
Equality is for references
Last updated