Skip to content

Array#sort is broken in node 11 #24106

@Hypnosphi

Description

@Hypnosphi
  • Version:
    v11.1.0
  • Platform:
    Darwin unit-951.local 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64
// works OK
> [1,0].sort()
[ 0, 1 ]
// doesn't work
> [1,0].sort((a, b) => a > b)
[ 1, 0 ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions