What does this array do in the router's post request?
router.post(
"/register",
[
check("email", "Некорректный email").isEmail(),
check("password", "Минимальная длина пароля 6 символов").isLength({ min: 6 })
],
() => { ... }
(Just a sample code) What is this array for? I didn't find this parameter in the docs, it only talked about path and callback parameters.