Created
December 29, 2019 02:28
-
-
Save mdestafadilah/a07a38f1da7cf7a5a95f4043c800e9c4 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/nofelop
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
const people = ['Amanda', 'Farrin', 'Geoff', 'Karen', 'Richard', 'Tyler']; | |
const excitedPeople = [] | |
for (let i = 0; i < people.length; i++) { | |
excitedPeople[i] = people[i] + '!' | |
} | |
console.log(excitedPeople); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">const people = ['Amanda', 'Farrin', 'Geoff', 'Karen', 'Richard', 'Tyler']; | |
const excitedPeople = [] | |
for (let i = 0; i < people.length; i++) { | |
excitedPeople[i] = people[i] + '!' | |
} | |
console.log(excitedPeople);</script></body> | |
</html> |
This file contains 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
const people = ['Amanda', 'Farrin', 'Geoff', 'Karen', 'Richard', 'Tyler']; | |
const excitedPeople = [] | |
for (let i = 0; i < people.length; i++) { | |
excitedPeople[i] = people[i] + '!' | |
} | |
console.log(excitedPeople); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment