UNPKG

swahili-lang

Version:

A new programming language with semantics borrowed from the Swahili language to help teach programming concepts to Swahili speaking students.

11 lines (9 loc) 285 B
/** * prints text to the terminal * @param {String} text text to be printed to the terminal * @param {Boolean} newLine whether to print an additional line after text */ function print(text, newLine = false) { console.log(text + (newLine ? '\n' : '')); } module.exports = print;