What is immutable?
var arr = ImmutableArray([1, 2, 3, 4]); var v2 = arr.push(5); v2.toArray(); // [1, 2, 3, 4, 5] arr.toArray(); // [1, 2, 3, 4]
var arr = ImmutableArray([1, 2, 3, 4]); var v2 = arr.push(5); v2.toArray(); // [1, 2, 3, 4, 5] arr.toArray(); // [1, 2, 3, 4]