1
0
Fork 0
tt9/scripts/_printers.js
sspanak 8a971ea15e JavaScript code cleanup and optimizations
* removed all console statements

  * sorting script: no longer creating functions within the loop

  * aosp2tt9: fixed incorrect usage of a global variable

  * injest-words: fixed a non-strict comparison

  * remove-repeating-words: commented out the case-sensitive search function, as it may be going out of use
2024-03-28 09:59:27 +02:00

7 lines
No EOL
145 B
JavaScript

exports.print = function(str) {
process.stdout.write(`${str}\n`);
};
exports.printError = function(str) {
process.stderr.write(`${str}\n`);
};