Slide 36
Slide 36 text
const list = Immutable.List(['Batman', 'Spiderman',
'Superman']);
// or:
const list = Immutable.List.of('Batman',
'Spiderman', 'Superman');
list[0]; // undefined
list.get(0); // "Batman"
const list2 = list.set(0, 'Bruce Wayne’);
// list = ["Batman", "Spiderman", "Superman"]
// list2 = ["Bruce Wayne", "Spiderman", "Superman"]
lists