All files modernize

100% Statements 27/27
100% Branches 12/12
100% Functions 8/8
100% Lines 23/23
File Statements Branches Functions Lines
errors.js
100% 12/12 100% 0/0 100% 6/6 100% 8/8
validate.js
100% 15/15 100% 12/12 100% 2/2 100% 15/15