Skip to content

Unhandled edge cases in slice function in the base layer #230683

@asemdreibati

Description

@asemdreibati

VSBUG

The from parameter should be checked first if it is less than -arr.length and in this case, the from parameter should be zero otherwise the index in the array will start negative in case to > from.

### Tasks

Metadata

Metadata

Assignees

Labels

insiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions