
what he said, simplified, temp variables (values) exist primarily within the function they are specified (unless otherwise passed and named).
"this" variables are accessible throughout the script.
"temp" variables are accessible through a function but discarded and not maintained in memory.
they can still be passed to another function.