Selector API should report NaN instead of integer when type validations failed #2470
Labels
AREA: server
STATE: Auto-locked
An issue has been automatically locked by the Lock bot.
SYSTEM: automations
TYPE: bug
The described behavior is considered as wrong (bug).
Milestone
Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
When
NaN
is passed to theSelector.nth()
method, type validations throw the following cryptic error:What is the expected behavior?
Errors with
NaN
error must be reported clearly:How would you reproduce the current behavior (if this is a bug)?
Specify your
The text was updated successfully, but these errors were encountered: