Jump to content

Module:Swap: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Swaps two values
(No difference)

Revision as of 20:22, 9 April 2025

local p = {}

function p.main(frame)
  x = frame.args[1]
  y = frame.args[2]
  x,y = y,x
  return print(x,y)
end
return p