Answers for "lua dict"

Lua
1

lua dict

local table = {
	myFirstValue = "helloWorld",
    mySecondValue = "hi"
}

assert(table.myFirstValue == "helloWorld")
assert(table["mySecondValue"] == "hi")
Posted by: Guest on April-24-2022

Browse Popular Code Answers by Language