Help:Lua debugging: Difference between revisions

Content deleted Content added
m top: rm apostrophe
Line 40:
! Request !! Returned value
|-
| {{colorcode|blue2=lua|mw.log(p.Hello)}}|| {{samp|"Hello"}}
|-
| {{colorcode|blue2=lua|mw.log(p.calc(10/2))}} || {{samp|5}}
|-
| {{colorcode|blue2=lua|mw.log(p.sum_mult(3))}} || {{samp|6   9}}
|-
| {{colorcode|blue2=lua|mw.log(p.mtable(4))}} || {{samp|table}}
|-
| {{colorcode|blue2=lua|mw.logObject(p.mtable(4))}} || {{sxhl|2=lua|
table#1 {
:4,
:5,
}
}}
|-
| {{bluecode|2=lua|{{=}}p.sum_mult(10)}} || {{samp|20 100}}
|-
| {{bluecode|2=lua|{{=}}p.Hello .. ', World!'}} || {{samp|Hello, World!}}
|}