Pregunta de entrevista de TikTok

leetcode - decode string what's the difference between var and let in JS