Anonymous user
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 03:11, 19 October 2009
, 14 years agono edit summary
m (→{{header|JavaScript}}: add lang tag and blurb) |
No edit summary |
||
Line 149:
<lang javascript> e = {} // generic object
e.foo = 1</lang>
=={{header|Lua}}==
<lang lua>empty = {}
empty.foo = 1</lang>
=={{header|Perl}}==
|