Please sign in to comment.
Disallow hexadecimal input with inList.
Instead of turning on/off strict mode based on the user supplied input, cast everything to strings and always use a strict check. This avoids the potential issue of a bad user using hexadecimal when they should not be allowed to do so. Thanks to 'Kurita Takashi' for pointing this out.
- Loading branch information...
Showing with 7 additions and 4 deletions.