Skip to content

Conversation

@prajwalkulkarni
Copy link

The current implementation of the polyfill uses equality/inequality operators that only compare the underlying values of two operands and don't check their types. Using strict equality/inequality operators enhances the code as even the types of operands are checked.

The current implementation also uses var for declaring variables in contrast to using let and const. Since the polyfill is transpiled, it is safe to use let and const over var.

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.

1 participant