Hi,
I can call the function in a library, but I can't access a property.
Here's my test library called add.
x = 1
function f(n) {
return x+n
}
Then I access like this.
lib = Library("add")
console.log(lib.x) // prints function () { [native code] }
console.log(lib.f(3)) // prints 4
How can I access property x in the add library?
Thanks!