wscript: containers and strings

Lists and maps with indexing vs .get; immutable, char-indexed strings.

rust
let xs = [1, 2, 3]                  // List[int]; xs[0] faults OOB, xs.get(0) is Option
let ages = #{ "alice": 30 }         // Map[string, int]; keys: int|bool|char|string
ages["bob"] = 25                    // insert or overwrite; ages["nope"] faults — use .get
xs.map(|x| x * 2).filter(|x| x > 2).fold(0, |a, x| a + x)

Strings are immutable; operations are methods returning new strings, indexed in characters (not bytes). The method lists live in list / map / string methods.