Closed vadi2 closed 8 years ago
The first argument passed to a js function is used as this
.
In most cases, just use the lua method call syntax:
L.execute("js.global:test('a', 'b')");
(Yes we need to write documentation about js <=> lua semantics)
Test case: