Skip to content

lengthOf() alternative #4

@ndefrancesco

Description

@ndefrancesco

Really nice compilation, Robert!
I'd suggest adding the short alternative to lengthOf(varX), varX.length, to both the string and array sections:

text = "hello";
array = newArray(a, "world");
print(text.length, array.length, array[1].length);

It comes really handy.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions