ListArray collection V8Array problem #501
|
I have the following method at C# side and then from javascript, I call something like this and then I receive the following output in the console The problem is that I want to have logArray method array of string arguments. and not V8Array. is it possible to set it up somehow? |
Answered by
ClearScriptLib
Mar 22, 2023
Replies: 1 comment 2 replies
|
Hi @nicloay, As you noted, JavaScript arrays implement Thanks! |
2 replies
Answer selected by
nicloay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nicloay,
As you noted, JavaScript arrays implement
IListandIList<object>when accessed from .NET. That makes it very easy to convert them to .NET arrays, lists, etc. Is that not sufficient for your scenario? Please clarify.Thanks!