1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-30 19:40:36 +02:00
This commit is contained in:
Abhijeet Mohan
2016-07-30 21:58:27 +05:30
committed by ven
parent a4db2f2012
commit 50c8f7b4dd

View File

@@ -190,7 +190,7 @@ end
--------------------------------------------------------------------------------
-- A table can have a metatable that gives the table operator-overloadish
-- behaviour. Later we'll see how metatables support js-prototypey behaviour.
-- behaviour. Later we'll see how metatables support js-prototype behaviour.
f1 = {a = 1, b = 2} -- Represents the fraction a/b.
f2 = {a = 2, b = 3}