For this purpose it doesn't matter if you use
var. In general the recommendation these days is to not use
var anymore as how it works on certain corner cases can be unexpected.
const means the variable cannot be redefined, so it's suitable to use for library imports or constant values.
let behaves pretty much like
var without its peculiarities.