Not sure if I got it right , but declaring variables depends on your needs and situations.
var - just regular declaring.
let - for declaring variables inside of blocks(local variables) to not let it conflict with globals.
const to declare variable, supposed to be unchangeable.
For most things "var" is enough .