Content deleted Content added
→Smalltalk: what is (link) a strong/weak reference |
→Lua: use double hyphen for comment, as in mw:Extension:Scribunto/Lua_reference_manual#Lexical_Conventions |
||
Line 513:
["Sally Smart"] = "555-9999",
["John Doe"] = "555-1212",
["J. Random Hacker"] = "553-1337",
}
aTable = {
-- Table as value
subTable = { 5, 7.5, k = true },
-- Function as value
['John Doe'] = function (age) if age < 18 then return "Young" else return "Old!" end end,
|