Javascript add param when calling a callback function
I want to set additional Parameters to callback function when defining it. // min Length validator function minLengthValidator(input, minLength) { console.log("Length is", input.length, "min Length is", minLength); return input.length >= minLength; } // using the callback in an validate function (e.g. on an Input field) and only give it the input value function validate(callback) {… Read More Javascript add param when calling a callback function