Guest User

Untitled

a guest
Jun 27th, 2019
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. for (const e of a)
  2.  
  3. for (const i = 0; i < a.length; i += 1)
  4.  
  5. {
  6. const __it = a[Symbol.iterator]();
  7. let __res;
  8. while ((__res = __it.next()) && !__res.done) {
  9. const e = __res.value;
  10. …
  11. }
  12. }
  13.  
  14. {
  15. const i = 0;
  16. while (i < a.length) {
  17. …
  18. i += 1;
  19. }
  20. }
  21.  
  22. for (var i = 0, otherVar = ""; i < [1,2,3,4].length; i += 1){
  23. console.log(otherVar)
  24. otherVar = "If otherVar was initialized on each iteration, then you would never read me.";
  25. }
  26.  
  27. for(const i = 0;;){ break }
  28. for(const i = 0; i < 10;){ break; }
  29.  
  30. for(const i = 0;;){ ++i; break; }
  31. for(const i = 0;;++i){ if(i > 0) break; }
Advertisement
Add Comment
Please, Sign In to add comment