The document discusses MontageJS bindings and how they can be used to define relationships between object properties. It provides examples of different types of bindings including property bindings, map bindings, and array range bindings. It also previews upcoming changes to how bindings will be defined and array operations will work.
13. Bindings
a↔b a.has(b) ↔ c
a.b ↔ c.d a == b ↔ c
a ← b.map{c} a[b] ↔ c
a ← b.filter{c} a.* ← c.map{d}
a ← b.sorted{c} a[*] ← b.toMap()
a ← b.flatten() a ← b.toMap{[.0, .1]}
sum, average, r ← (x**2 + y**2) //2
reversed, enumerate, f ↔ c * 1.8 + 32
items, some, every a ← b.{x: .0, y: .1}