Explain the concept of 'immutability' in JavaScript
    1/1
    Immutability refers to the property of a data value that prevents it from being modified after its creation. In JavaScript, primitive data types (e.g., strings, numbers) are immutable, while objects and arrays are mutable. Immutable data structures are often used to prevent unintended side effects in functional programming.
    Example implementation and operations: