Skip to content

how to pass arrays and/or typed arrays as arguments? #3

Description

@wizzard0

if I modify the example to call the function with smth like [1] and call JSON.stringify inside - I can see the parameter gets converted to {"0":1}. Same goes for typed arrays.

How can I pass arrays, specifically typedarrays? Or, where do I start to add this functionality?

The idea is to pass a typed array which the function can modify without creating a ton of new objects

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions