You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A function that takes a goja.Value argument will, when bridged to JS and invoked with null for that argument, receive a nil goja.Value, which is not recognised as a proper null by goja.IsNull().
I have fixed this, however if your function already takes goja.Value as an argument you should consider making it a 'native' goja function. This way you avoid reflection wrapper which will improve performance:
A function that takes a
goja.Value
argument will, when bridged to JS and invoked withnull
for that argument, receive anil
goja.Value, which is not recognised as a proper null bygoja.IsNull()
.Test case:
The text was updated successfully, but these errors were encountered: