Properties returned as functions

Hi,

I was curious why properties seem to be returned as function types.

plugin_js

window.myplugin\_js = { hello: "Tacos", score: 100, echo: function(str) { return str } };

main.lua

local myplugin = require("myplugin") local result = myplugin.echo("myplugin is cool!") print(result) --\> myplugin is cool! local hello = myplugin.hello print(hello) --\> function: 0x6b9970 print(myplugin.score) --\>function: 0x6b83e0

-dev