Check the documentation :
If the function has one single argument, and this argument is either a literal string or a table constructor, then the brackets are optional:
print "Hello World" print("Hello World")
dofile 'a.lua' dofile ('a.lua')
print [[a multi-line print([[a multi-line
message]] message]])
f{x=10, y=20} f({x=10, y=20})
type{} type({})
source
share