Skip to content

Provide access to new.target #36240

@nex3

Description

@nex3

ES6 defines the new.target feature, which indicates whether the current function was invoked using new or not. I'd like to access this from Dart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.customer-dart-sasspkg-jstype-enhancementA request for a change that isn't a bugweb-js-interopIssues that impact all js interop

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions