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
This is a case of an overzealous optimisation around the length property, and not maintaining the original value type for non-reflect slices (does not directly apply to your case, but still needs fixing).
Modifying a slice value or pointer to a slice from Go doesn't seem to update properly in goja. Consider the following code sample:
I haven't explored the goja internals yet to understand what actually is happening, but:
Is this some version of the implementation caveats mentioned in the readme?
If it is a caveat, is there a workaround, even if that means sacrificing the performance, eg. overwriting the default array behavior?
The text was updated successfully, but these errors were encountered: