setProperty function

dynamic setProperty (
  1. dynamic o,
  2. dynamic name,
  3. dynamic value
)

Implementation

setProperty(o, name, value) => JS('', '#[#]=#', o, name, value);