Created
February 9, 2018 16:52
-
-
Save pwnorbitals/c829596d546cc51795e7161268ee90e1 to your computer and use it in GitHub Desktop.
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
let tableau = ['b', 'o', 'n', 'j', 'o', 'u', 'r'] // donnée | |
// Création de notre valeur | |
let result = ''; | |
for(let i = 0; i < tableau.length; i++) { | |
result = result.concat(tableau[i]); | |
} | |
// Ecriture du résultat | |
console.log(result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment