Sanjaymrnthfor loop using let and Varvar is functional Scope, it will be used everywhere in the code like Global variable, given the multiple values for this variable but it…Sep 21, 2022Sep 21, 2022