M2P Fintech interview question

let,var const in javascript and ES6