Skip to content

False positive: anyat property of object detected as ArrayPrototypeAt when using --checkFeatures #387

@ItMaga

Description

@ItMaga

Code to reproduce:

//test-array-at.js
const foo = {
	at() {
	}
};

foo.at();

Command:

npx es-check es12 "./test-array-at.js" --checkFeatures

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions