I don't have much experience with javascript and I have been looking for an explanation into this syntax so if you know it would be much appreciated if you can help me understand it!
In Node.js
const { check, validationResult } = require('express-validator/check');
const { matchedData, sanitize } = require('express-validator/filter');
I am used to declaring variables like this:
const name = require('npm-module..');
Could someone explain this to me?