Skip to content

Arrow functions should not have a 'prototype' property #1761

@DanielRosenwasser

Description

@DanielRosenwasser
function f() {
    var a = () => 5;
    return a.prototype;
}

We should give an error here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Won't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix it

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions