@turbo and destructuring assignments
              
              #421
            
            
                  
                    
                      matthias314
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| It's a bug. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that destructuring assignments inside a loop may lead to wrong results. The example
gives
I don't know if this is a bug or part of the "don't rely on a specific execution order" rule. In the latter case, would it make sense to mention this case explicitly in the documentation? After all, it's formally a single statement.
Beta Was this translation helpful? Give feedback.
All reactions