Skip to content

CSE Machine: array flips when function called twice #1751

Closed
@alsonleej

Description

@alsonleej

const f = x => [1,2,3];
f(f(1));

produces [3,2,1] instead of [1,2,3].

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingimportantFixing this is important, but not mission-critical

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions