mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-10 16:54:33 +02:00
Fix typo by indicating a range with '...'
This commit is contained in:
committed by
Julian Montague
parent
9e975a8dcf
commit
62252055c2
@@ -116,7 +116,7 @@ function bar(a, b, c)
|
|||||||
end
|
end
|
||||||
|
|
||||||
x, y = bar('zaphod') --> prints "zaphod nil nil"
|
x, y = bar('zaphod') --> prints "zaphod nil nil"
|
||||||
-- Now x = 4, y = 8, values 15..42 are discarded.
|
-- Now x = 4, y = 8, values 15...42 are discarded.
|
||||||
|
|
||||||
-- Functions are first-class, may be local/global.
|
-- Functions are first-class, may be local/global.
|
||||||
-- These are the same:
|
-- These are the same:
|
||||||
|
Reference in New Issue
Block a user