Created
August 19, 2018 11:58
-
-
Save Khuzha/1241c1405e36105076ff1db3f5ab9209 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
const prompt = require('prompt-sync')(); | |
let name = []; | |
for (let i = 0; name[i] !== undefined; i++) { | |
name[i] = prompt('Введите имя'); | |
} | |
console.log(name); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Консоль: