npm install efrogconst Console = require('efrog').Console;-
Console.write(text, end)|Console.output(text, end)— вивід тексту у консольtext— текст, який буде виведений у консольend— кінець виводу -
Console.writeWord(text, end)|Console.outputWord(text, end)— вивід слова у консольtext— текст, який буде виведений у консольend— кінець слова -
Console.writeLine(text, end)|Console.outputLine(text, end)— вивід рядка у консольtext— текст, який буде виведений у консольend— кінець рядка -
Console.alert(msg)— вивід повідомлення у консольmsg— повідомлення, яке буде виводитися у консоль -
Console.readCharCode()|Console.inputCharCode()— отримання char-коду останнього непрочитаного символа -
Console.readChar()|Console.inputChar()— отримання останнього непрочитаного символа -
Console.read(end)|Console.input(end)— читання з консолі до кінцяend— кінець -
Console.readWord(end)|Console.inputWord(end)— читання останнього непрочитаного словаend— кінець слова -
Console.readLine(sep)|Console.inputLine(sep)— читання останнього непрочитаного рядка -
Console.readLineSplit(sep)|Console.inputLineSplit(sep)— читання і розбиття останнього непрочитаного рядкаsep— розділювач, який розділяє слова в рядку, по ньому відбувається поділ рядка на масив слів -
Console.readLineSplit(sep)|Console.inputLineSplit(sep)— читання і розбиття на слова останнього непрочитаного рядкаsep— розділювач, який розділяє слова в рядку, по ньому відбувається поділ рядка на масив слів -
Console.readAll()|Console.inputAll()— читання усьогу потоку з консолі -
Console.prompt(msg)— читання з консолі після вивіду у консоль повідомленняmsg— повідомлення, яке буде виводитися у консоль
npm install efrogconst Console = require('efrog').Console;-
Console.write(text, end)|Console.output(text, end)— text output to the consoletext— the text that will be output to the consoleend— the end of the output -
Console.writeWord(text, end)|Console.outputWord(text, end)— output the word to the consoletext— the text that will be output to the consoleend— the end of the word -
Console.writeLine(text, end)|Console.outputLine(text, end)— output a line to the consoletext— the text that will be output to the consoleend— the end of the line -
Console.alert(msg)— output a message to the consolemsg— the message that will be output to the console -
Console.readCharCode()|Console.inputCharCode()— getting a char code of the last unread character -
Console.readChar()|Console.inputChar()— getting the last unread character -
Console.read(end)|Console.input(end)— reading from the console to the endend— the end -
Console.readWord(end)|Console.inputWord(end)— reading the last unread wordend— the end of a word -
Console.readLine(sep)|Console.inputLine(sep)— reading the last unread line -
Console.readLineSplit(sep)|Console.inputLineSplit(sep)— reading and splitting the last unread linesep— the delimiter that separates words in a line, it is used to divide the line into an array -
Console.readLineSplit(sep)|Console.inputLineSplit(sep)— читання і розбиття на слова останнього непрочитаного рядкаsep— the delimiter that separates words in a line, it is used to divide the line into an array -
Console.readAll()|Console.inputAll()— reading the entire stream from the console -
Console.prompt(msg)— reading from the console after outputting a message to the consolemsg— the message that will be output to the console