im new to node and ive been using let and const mostly for declaring variables, but in searching through documentation im reading a lot of references to using var as a variable instead of let, does nodejs use the same variable scoping as vanilla js and the reference documents im reading just outdated?