⊗jsSpDtIm 282 of 294 menu

Data Immutability in JavaScript

In JavaScript, an approach is often used where arrays and objects are not changed directly, but are first copied, and then modified. In this case, it is said that arrays and objects remain unchanged, that is, immutable.

This approach is often used in frameworks, for example, in React. In this section of the tutorial we will learn how to immutably change arrays, objects, and arrays of objects. This knowledge will be useful to us in the future.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline