a function part of the code starts with tthe keyword funtion and then you can mocve on adding vairibles
the let is a local declaration and the var is a global one, you can use let in a function and var in the whole thing
a pure funtion is in a bubble and it wont be affected by let or var commands im pretty sure