freeCodeCamp.org Help regarding if(true)

what is the work of if(true) in this

The true is only there so the if statement will be entered no matter what that way it can show that using let creates a blocked scope variable that does not conflict with the already declared var variable

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.