debug.upvaluejoin
Example
Example code to demonstrate how the function works.
Output: 13
17
5 8 12
Makes an upvalue of func1 refer to an upvalue of func2. Both functions provided must be Lua-defined, otherwise an error is thrown.
Example code to demonstrate how the function works.