Skip to content

README is misleading wrt array creation ? #150

@parmentelat

Description

@parmentelat

specifically in this section:
https://github.com/nicolaspanel/numjs?tab=readme-ov-file#array-creation
I can see this

> var a = nj.uint8([1,2,3]);

this won't work for me and instead I need to do

a = nj.array([1,2,3], 'uint8');

so either I misunderstood or messed up something, or the README should be amended to reflect the actual interface

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