Jithinqw / Cerberus

JavaScript validations made easy
https://jithinqw.github.io/Cerberus/
GNU General Public License v3.0
2 stars 1 forks source link

Undefined coming on parsing the restricted domain json file #3

Closed Jithinqw closed 4 years ago

Jithinqw commented 5 years ago
.example false
.invalid false
example.com false
example.net false
example.org false
undefined false
Jithinqw commented 5 years ago

Its because of the for loop running till the array length +1, which does not exist.

Jithinqw commented 4 years ago

Fixed