Last active
February 28, 2018 11:07
-
-
Save SaschaHeyer/56d3906de10328f21eb51b0afa9b85d3 to your computer and use it in GitHub Desktop.
forOfLoops
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var beers = ['Pils','Weißbier','Weizen']; | |
| for(var beer of beers){ | |
| console.log(beer); | |
| } | |
| //output: Pils | |
| //output: Weißbier | |
| //output: Weizen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment