Lua Formatter helps format unformatted or ugly Lua data, so data or code easy and more readable.
Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description. For more information visit www.lua.org
There are various advantages of using Best Lua Formatter Online Free tool as below.
Rectangle = {area = 0, length = 0, breadth = 0}
function Rectangle:new(a, b, c)
a = a or {}
setmetatable(a, self)
self.__index = self
self.length = b or 0
self.breadth = c or 0
self.area = b * c
return a
end
function Rectangle:printRectangle()
print("The calculated Area of Rectangle: ", self.area)
end