Skip to content

Conversation

@agubler
Copy link
Member

@agubler agubler commented Jun 17, 2019

Type: bug

The following has been addressed in the PR:

Description:

Add has flags to ensure that shims are elided correctly.

@agubler agubler requested a review from matt-gadd June 18, 2019 09:56
const normalizeOffset = function normalizeOffset(value: number, length: number): number {
return value < 0 ? Math.max(length + value, 0) : Math.min(value, length);
};
if (!has('es6-array') && !has('es6-array-fill') && !has('es7-array')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be a number of or's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants