lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Here's an example:

Lua:
rawequals(a,b)

gettable "rawequals" 0 1
<get a>
<get b>
call 1 2

or basically, get "rawequals" from a table, get a, get b, call "rawequals"

JS:
a === b

or basically, get a, get b, compare

Can we get a === operator and OP_RAWEQ?

(And OP_RAWGET and OP_RAWSET but idk what syntax/operators they would use...)