Question d’entretien chez IQM

reverse a string in JavaScript and provide space and time complexity, explain variable scoping (var, let) in JavaScript using an example code block, explain falsy values in JavaScript using an example code block, and explain "typeof".