Movatterモバイル変換


[0]ホーム

URL:


  1. Glossary
  2. Mutable

Mutable

Amutable value is one that can be changed without creating an entirely new value, in comparison withimmutable values.

InJavaScript,objects andarrays are mutable by default — their properties and elements can be changed without creating a new object or array.By contrast,primitive values are immutable — once a primitive value is created, it cannot be changed, although the variable that holds it may be reassigned another value.

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp