JavaScript, Code Quality.
this will even worse when you want to update the limit. find all function which calling validate function and update the value.if you are think you can do find and replace, try that in any large code file you will endup overwrite many think and make the code even worse. now are you thinking regex?