When I search for difference between let and var in javascript it says variable declared by let can't be redeclared but variables declared by var can be redeclared but does this line mean?
            Asked
            
        
        
            Active
            
        
            Viewed 346 times
        
    1 Answers
0
            
            
        Well hello Vinay Singla the thing is when you use let you do not have to redeclare it.
Otherwise an error will pop and a new let is very similar when you declare variables in python .
Code you wrote will cause an error
 
    
    
        Ramz
        
- 1
