|
|
|
@ -21,7 +21,6 @@ arr.forEach(function(n) {
|
|
|
|
|
|
|
|
|
|
|
|
=> Prints a bunch of 9s to the console
|
|
|
|
=> Prints a bunch of 9s to the console
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
##### EXERCISE:
|
|
|
|
##### EXERCISE:
|
|
|
|
@ -40,7 +39,7 @@ words = ["Ho", "Chi", "Minh", "City", "was", "once", "known", "as", "Prey", "Nok
|
|
|
|
words.forEach(function (e){
|
|
|
|
words.forEach(function (e){
|
|
|
|
console.log(e.toUpperCase());
|
|
|
|
console.log(e.toUpperCase());
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# .map
|
|
|
|
# .map
|
|
|
|
|
|
|
|
|
|
|
|
|