Add a variable to a class instance at runtime: Difference between revisions
Add a variable to a class instance at runtime (view source)
Revision as of 22:38, 14 December 2017
, 6 years ago→{{header|Julia}}
mNo edit summary |
|||
Line 620:
person = Contact("Jane Doe", Dict())
person.phonenumber["home"] = "212 555-1234"
</lang>
|