setProperty function

dynamic setProperty (dynamic o, dynamic name, dynamic value)

Implementation

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